mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
add pause to action
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user