From d9b3a59c768693790f5204006e821ba63e245cad Mon Sep 17 00:00:00 2001 From: kraanzu Date: Thu, 17 Oct 2024 10:19:36 +0530 Subject: [PATCH] test: more key tests for base screen --- tests/test_ui/test_key_resolve.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_ui/test_key_resolve.py b/tests/test_ui/test_key_resolve.py index 71e7eda0..4f94fb66 100644 --- a/tests/test_ui/test_key_resolve.py +++ b/tests/test_ui/test_key_resolve.py @@ -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", " ")) == " "