(self)
| 98 | client.close() |
| 99 | |
| 100 | def testLocalHostName(self): |
| 101 | mock_socket.reply_with(b"220 Hola mundo") |
| 102 | # check that supplied local_hostname is used |
| 103 | client = self.client(HOST, self.port, local_hostname="testhost") |
| 104 | self.assertEqual(client.local_hostname, "testhost") |
| 105 | client.close() |
| 106 | |
| 107 | def testTimeoutDefault(self): |
| 108 | mock_socket.reply_with(b"220 Hola mundo") |
nothing calls this directly
no test coverage detected