diff options
author | Devaev Maxim <[email protected]> | 2020-10-29 02:29:40 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-11-11 22:24:25 +0300 |
commit | e54449fd8ef0ea98aea881d25c9bb134a3bc2e11 (patch) | |
tree | 5648cd7c1d14ed5bf46491d18ad1bc0b461962af /testenv | |
parent | 08b96b7ada3363f599c9f58d091d9a06d54c2031 (diff) |
renamed serial keymap codes to mcu
Diffstat (limited to 'testenv')
-rw-r--r-- | testenv/linters/vulture-wl.py | 2 | ||||
-rw-r--r-- | testenv/tests/keyboard/test_keymap.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testenv/linters/vulture-wl.py b/testenv/linters/vulture-wl.py index 608f0aab..8d353b08 100644 --- a/testenv/linters/vulture-wl.py +++ b/testenv/linters/vulture-wl.py @@ -21,7 +21,7 @@ IpmiServer.handle_raw_request _AtxApiPart.switch_power _KeyMapping.web_name -_KeyMapping.serial_code +_KeyMapping.mcu_code _KeyMapping.arduino_name _KeyMapping.otg_key _KeyMapping.ps2_key diff --git a/testenv/tests/keyboard/test_keymap.py b/testenv/tests/keyboard/test_keymap.py index 9a397c6e..ad26d780 100644 --- a/testenv/tests/keyboard/test_keymap.py +++ b/testenv/tests/keyboard/test_keymap.py @@ -27,7 +27,7 @@ from kvmd.keyboard.mappings import KEYMAP # ===== def test_ok__keymap() -> None: - assert KEYMAP["KeyA"].serial.code == 1 + assert KEYMAP["KeyA"].mcu.code == 1 def test_fail__keymap() -> None: |