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

Function test_multiple_errors

tests/integration/test_env_errors.py:50–65  ·  view source on GitHub ↗
(
    mock_not_root,
    mock_not_linux,
    mock_valid_version,
)

Source from the content-addressed store, hash-verified

48
49@pytest.mark.asyncio
50async 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"

Callers

nothing calls this directly

Calls 1

RecoverpyAppClass · 0.90

Tested by

no test coverage detected