Test that pressing the alpha key, when it's bound on the app, results in an action fire.
()
| 222 | |
| 223 | |
| 224 | async def test_pressing_alpha_on_app() -> None: |
| 225 | """Test that pressing the alpha key, when it's bound on the app, results in an action fire.""" |
| 226 | async with AppWithMovementKeysBound().run_test() as pilot: |
| 227 | await pilot.press(*AppKeyRecorder.ALPHAS) |
| 228 | await pilot.pause() |
| 229 | assert pilot.app.pressed_keys == [*AppKeyRecorder.ALPHAS] |
| 230 | |
| 231 | |
| 232 | async def test_pressing_movement_keys_app() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…