mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Correct a test description
This commit is contained in:
@@ -77,7 +77,7 @@ class AppWithScreenThatHasABinding(App[None]):
|
|||||||
reason="Screen is incorrectly starting with bindings for movement keys [issue#1343]"
|
reason="Screen is incorrectly starting with bindings for movement keys [issue#1343]"
|
||||||
)
|
)
|
||||||
async def test_app_screen_with_bindings() -> None:
|
async def test_app_screen_with_bindings() -> None:
|
||||||
"""An app with a screen and a binding should only have ctrl+c as a binding."""
|
"""A screen with a single alpha key binding should only have that key as a binding."""
|
||||||
async with AppWithScreenThatHasABinding().run_test() as pilot:
|
async with AppWithScreenThatHasABinding().run_test() as pilot:
|
||||||
assert list(pilot.app.screen._bindings.keys.keys()) == ["a"]
|
assert list(pilot.app.screen._bindings.keys.keys()) == ["a"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user