summaryrefslogtreecommitdiff
path: root/tests/test_keymap.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-08 19:19:26 +0300
committerDevaev Maxim <[email protected]>2019-04-08 19:19:26 +0300
commit3a68e82f94815660d23fa771e8d6fdbfdbb0bee6 (patch)
tree35549d5349e412e4bfb015623cb73458aded684a /tests/test_keymap.py
parentdda30309a48370bb3d82c8723993490972613223 (diff)
refactoring
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"])