MCPcopy Index your code
hub / github.com/python/cpython / test_connect_default_port

Method test_connect_default_port

Lib/test/test_smtpnet.py:60–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 server.quit()
59
60 def test_connect_default_port(self):
61 support.get_attribute(smtplib, 'SMTP_SSL')
62 with socket_helper.transient_internet(self.testServer):
63 server = smtplib.SMTP_SSL(self.testServer)
64 server.ehlo()
65 server.quit()
66
67 @support.requires_resource('walltime')
68 def test_connect_using_sslcontext(self):

Callers

nothing calls this directly

Calls 2

ehloMethod · 0.80
quitMethod · 0.45

Tested by

no test coverage detected