(self, output_spy, virtual_socket)
| 69 | assert 'did not receive banner' in lines[-1] |
| 70 | |
| 71 | def test_recv_timeout(self, output_spy, virtual_socket): |
| 72 | vsocket = virtual_socket |
| 73 | vsocket.rdata.append(socket.timeout('timed out')) |
| 74 | lines = self._audit(output_spy) |
| 75 | assert len(lines) == 1 |
| 76 | assert 'did not receive banner' in lines[-1] |
| 77 | assert 'timed out' in lines[-1] |
| 78 | |
| 79 | def test_recv_retry_till_timeout(self, output_spy, virtual_socket): |
| 80 | vsocket = virtual_socket |