(self)
| 84 | client.close() |
| 85 | |
| 86 | def testSourceAddress(self): |
| 87 | mock_socket.reply_with(b"220 Hola mundo") |
| 88 | # connects |
| 89 | client = self.client(HOST, self.port, |
| 90 | source_address=('127.0.0.1',19876)) |
| 91 | self.assertEqual(client.source_address, ('127.0.0.1', 19876)) |
| 92 | client.close() |
| 93 | |
| 94 | def testBasic2(self): |
| 95 | mock_socket.reply_with(b"220 Hola mundo") |
nothing calls this directly
no test coverage detected