(self)
| 95 | assert the_old_way == the_new_way, len(the_old_way) - len(the_new_way) |
| 96 | |
| 97 | def test_expect_timeout(self): |
| 98 | p = PopenSpawn('cat', timeout=5) |
| 99 | p.expect(pexpect.TIMEOUT) # This tells it to wait for timeout. |
| 100 | self.assertEqual(p.after, pexpect.TIMEOUT) |
| 101 | |
| 102 | def test_unexpected_eof(self): |
| 103 | p = PopenSpawn('ls -l /bin') |
nothing calls this directly
no test coverage detected