summaryrefslogtreecommitdiff
path: root/testenv/tests
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-26 04:23:50 +0300
committerDevaev Maxim <[email protected]>2019-09-26 04:23:50 +0300
commit5e1e3cdf640face90ac5898ea4de7484c5edeae1 (patch)
tree71997b466302594a43929076a817b5748927512e /testenv/tests
parent2f767573d301dbc2b9403363a71ff7acf38049b4 (diff)
refactoring
Diffstat (limited to 'testenv/tests')
-rw-r--r--testenv/tests/test_keymap.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testenv/tests/test_keymap.py b/testenv/tests/test_keymap.py
index f69accb1..4ee603d0 100644
--- a/testenv/tests/test_keymap.py
+++ b/testenv/tests/test_keymap.py
@@ -27,8 +27,7 @@ from kvmd.keymap import KEYMAP
# =====
def test_ok__keymap() -> None:
- assert type(KEYMAP["KeyA"]) == int # pylint: disable=unidiomatic-typecheck
- assert KEYMAP["KeyA"] == 1
+ assert KEYMAP["KeyA"].serial.code == 1
def test_fail__keymap() -> None: