MCPcopy Create free account
hub / github.com/PabloLec/RecoverPy / test_not_root

Function test_not_root

tests/integration/test_env_errors.py:7–19  ·  view source on GitHub ↗
(
    mock_not_root, mock_linux, mock_valid_version
)

Source from the content-addressed store, hash-verified

5
6@pytest.mark.asyncio
7async 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

Callers

nothing calls this directly

Calls 1

RecoverpyAppClass · 0.90

Tested by

no test coverage detected