| 4 | |
| 5 | |
| 6 | class TestInteraction(unittest.TestCase): |
| 7 | def test_keyboard_interrupt(self): |
| 8 | p = pexpect.spawn("python3 lesspass/core.py --prompt") |
| 9 | p.expect("Site: ") |
| 10 | p.kill(signal.SIGINT) |
| 11 | p.expect(pexpect.EOF) |
| 12 | self.assertEqual(p.before, b"") |
nothing calls this directly
no outgoing calls
no test coverage detected