This commit is contained in:
Will McGugan
2022-12-19 11:20:46 +00:00
parent 623f7f635e
commit 621e96dcdd

View File

@@ -640,7 +640,7 @@ async def test_skip_action() -> None:
# Check the NoHandle widget has focus
assert pilot.app.query_one(NoHandle).has_focus
# Press the "t" key
await pilot.press("t")
await pilot.press("t", "_")
# Check the action on the no handle widget was called
assert no_handle_invoked
# Check the return value, confirming that the action on Handle was called