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

Method testBasic1

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

Source from the content-addressed store, hash-verified

78 self.assertEqual(expected, smtplib.quotedata(teststr))
79
80 def testBasic1(self):
81 mock_socket.reply_with(b"220 Hola mundo")
82 # connects
83 client = self.client(HOST, self.port)
84 client.close()
85
86 def testSourceAddress(self):
87 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