mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
refactoring
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user