(self)
| 182 | self.assertEqual(session.before, b'') |
| 183 | |
| 184 | def test_timeout(self): |
| 185 | with self.assertRaises(pexpect.TIMEOUT): |
| 186 | sock = socket.socket(self.af, socket.SOCK_STREAM) |
| 187 | sock.connect((self.host, self.port)) |
| 188 | session = self.spawn(sock, timeout=10) |
| 189 | session.expect(b'Bogus response') |
| 190 | |
| 191 | def test_interrupt(self): |
| 192 | timed_out = multiprocessing.Event() |
nothing calls this directly
no test coverage detected