ensure the default timeout is used for multi-line commands.
(self)
| 52 | assert res.startswith('/'), res |
| 53 | |
| 54 | def test_long_running_multiline(self): |
| 55 | " ensure the default timeout is used for multi-line commands. " |
| 56 | bash = replwrap.bash() |
| 57 | res = bash.run_command("echo begin\r\nsleep 2\r\necho done") |
| 58 | self.assertEqual(res.strip().splitlines(), ['begin', 'done']) |
| 59 | |
| 60 | def test_long_running_continuation(self): |
| 61 | " also ensure timeout when used within continuation prompts. " |
nothing calls this directly
no test coverage detected