]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_smtpnet.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / test_smtpnet.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_smtpnet.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_smtpnet.py
deleted file mode 100644 (file)
index a961e14..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env python\r
-\r
-import unittest\r
-from test import test_support\r
-import smtplib\r
-\r
-test_support.requires("network")\r
-\r
-class SmtpSSLTest(unittest.TestCase):\r
-    testServer = 'smtp.gmail.com'\r
-    remotePort = 465\r
-\r
-    def test_connect(self):\r
-        test_support.get_attribute(smtplib, 'SMTP_SSL')\r
-        with test_support.transient_internet(self.testServer):\r
-            server = smtplib.SMTP_SSL(self.testServer, self.remotePort)\r
-        server.ehlo()\r
-        server.quit()\r
-\r
-    def test_connect_default_port(self):\r
-        test_support.get_attribute(smtplib, 'SMTP_SSL')\r
-        with test_support.transient_internet(self.testServer):\r
-            server = smtplib.SMTP_SSL(self.testServer)\r
-        server.ehlo()\r
-        server.quit()\r
-\r
-def test_main():\r
-    test_support.run_unittest(SmtpSSLTest)\r
-\r
-if __name__ == "__main__":\r
-    test_main()\r