(
mock_not_root,
mock_not_linux,
mock_valid_version,
)
| 48 | |
| 49 | @pytest.mark.asyncio |
| 50 | async def test_multiple_errors( |
| 51 | mock_not_root, |
| 52 | mock_not_linux, |
| 53 | mock_valid_version, |
| 54 | ): |
| 55 | async with RecoverpyApp().run_test() as p: |
| 56 | await p.pause() |
| 57 | |
| 58 | assert p.app is not None |
| 59 | |
| 60 | for _ in range(2): |
| 61 | assert "error" in p.app.screen.name |
| 62 | await p.click("#ok-button") |
| 63 | await p.pause() |
| 64 | |
| 65 | assert p.app.screen.name == "params" |
nothing calls this directly
no test coverage detected