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

Method testBasic2

Lib/test/test_smtplib.py:94–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

92 client.close()
93
94 def testBasic2(self):
95 mock_socket.reply_with(b"220 Hola mundo")
96 # connects, include port in host name
97 client = self.client("%s:%s" % (HOST, self.port))
98 client.close()
99
100 def testLocalHostName(self):
101 mock_socket.reply_with(b"220 Hola mundo")

Callers

nothing calls this directly

Calls 2

clientMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected