mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
pause
This commit is contained in:
@@ -640,7 +640,7 @@ async def test_skip_action() -> None:
|
|||||||
# Check the NoHandle widget has focus
|
# Check the NoHandle widget has focus
|
||||||
assert pilot.app.query_one(NoHandle).has_focus
|
assert pilot.app.query_one(NoHandle).has_focus
|
||||||
# Press the "t" key
|
# Press the "t" key
|
||||||
await pilot.press("t")
|
await pilot.press("t", "_")
|
||||||
# Check the action on the no handle widget was called
|
# Check the action on the no handle widget was called
|
||||||
assert no_handle_invoked
|
assert no_handle_invoked
|
||||||
# Check the return value, confirming that the action on Handle was called
|
# Check the return value, confirming that the action on Handle was called
|
||||||
|
|||||||
Reference in New Issue
Block a user