def test_fail__valid_hid_key(arg: Any) -> None: with pytest.raises(ValidatorError): print(valid_hid_key(arg))
def test_ok__valid_hid_key() -> None: for key in KEYMAP: print(valid_hid_key(key)) print(valid_hid_key(key + " "))