(
mock_not_root, mock_linux, mock_valid_version
)
| 5 | |
| 6 | @pytest.mark.asyncio |
| 7 | async def test_not_root( |
| 8 | mock_not_root, mock_linux, mock_valid_version |
| 9 | ): |
| 10 | async with RecoverpyApp().run_test() as p: |
| 11 | await p.pause() |
| 12 | |
| 13 | assert p.app is not None |
| 14 | assert p.app.screen.name == "root-error-modal" |
| 15 | |
| 16 | await p.click("#ok-button") |
| 17 | await p.pause() |
| 18 | |
| 19 | assert p.app.screen.name == "params" |
| 20 | |
| 21 | |
| 22 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected