Skip to content

Commit

Permalink
test: more key tests for base screen
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Oct 17, 2024
1 parent a9e35eb commit d9b3a59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_ui/test_key_resolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ async def test_base_screen_keys():

assert isinstance(screen, MainScreen)

screen.resolve_key(events.Key("home", None))
assert screen.resolve_key(events.Key("home", None)) == "home"
assert screen.resolve_key(events.Key("space", " ")) == " "

0 comments on commit d9b3a59

Please sign in to comment.