(self)
| 133 | self.client(HOST, self.port, timeout=0) |
| 134 | |
| 135 | def testTimeoutValue(self): |
| 136 | mock_socket.reply_with(b"220 Hola mundo") |
| 137 | client = self.client(HOST, self.port, timeout=30) |
| 138 | self.assertEqual(client.sock.gettimeout(), 30) |
| 139 | client.close() |
| 140 | |
| 141 | def test_debuglevel(self): |
| 142 | mock_socket.reply_with(b"220 Hello world") |
nothing calls this directly
no test coverage detected