summaryrefslogtreecommitdiff
path: root/tests/test_keymap.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_keymap.py')
-rw-r--r--tests/test_keymap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_keymap.py b/tests/test_keymap.py
index 26251fdb..f69accb1 100644
--- a/tests/test_keymap.py
+++ b/tests/test_keymap.py
@@ -26,11 +26,11 @@ from kvmd.keymap import KEYMAP
# =====
-def test_keymap__ok() -> None:
+def test_ok__keymap() -> None:
assert type(KEYMAP["KeyA"]) == int # pylint: disable=unidiomatic-typecheck
assert KEYMAP["KeyA"] == 1
-def test_keymap__fail() -> None:
+def test_fail__keymap() -> None:
with pytest.raises(KeyError):
print(KEYMAP["keya"])