(self)
| 44 | self.assertEqual(s.before, b' END\n') |
| 45 | |
| 46 | def test_maxread (self): |
| 47 | socket = open_file_socket('TESTDATA.txt') |
| 48 | s = socket_pexpect.SocketSpawn(socket) |
| 49 | s.maxread = 100 |
| 50 | s.expect('2') |
| 51 | s.expect ('This is the end of test data:') |
| 52 | s.expect (pexpect.EOF) |
| 53 | self.assertEqual(s.before, b' END\n') |
| 54 | |
| 55 | def test_socket_isalive (self): |
| 56 | socket = open_file_socket('TESTDATA.txt') |
nothing calls this directly
no test coverage detected