summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-05-07 17:47:24 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-05-07 17:47:24 (GMT)
commit6ef5dfdb94e613d4f53736bc135d395587b91419 (patch)
treea3b4bb92403d834627e5022bc5fface6ccc1fa86 /Lib/test
parent24befa87dcddd95005c82a1c42553856de7dcd08 (diff)
parent5bcc50c1b55527c18f91ca13d90d05a221b91a65 (diff)
downloadcpython-6ef5dfdb94e613d4f53736bc135d395587b91419.zip
cpython-6ef5dfdb94e613d4f53736bc135d395587b91419.tar.gz
cpython-6ef5dfdb94e613d4f53736bc135d395587b91419.tar.bz2
Merge
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_smtpnet.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_smtpnet.py b/Lib/test/test_smtpnet.py
index f0f1edd..0198ab6 100644
--- a/Lib/test/test_smtpnet.py
+++ b/Lib/test/test_smtpnet.py
@@ -17,6 +17,13 @@ class SmtpSSLTest(unittest.TestCase):
server.ehlo()
server.quit()
+ def test_connect_default_port(self):
+ support.get_attribute(smtplib, 'SMTP_SSL')
+ with support.transient_internet(self.testServer):
+ server = smtplib.SMTP_SSL(self.testServer)
+ server.ehlo()
+ server.quit()
+
def test_main():
support.run_unittest(SmtpSSLTest)