Test for modifiers and corner case 0xFF

This commit is contained in:
Fritz Reichwald 2018-03-02 12:54:29 +01:00 committed by Florian Bruhin
parent 3a11a24be0
commit d9a88e139c

View File

@ -186,6 +186,13 @@ def test_normalize_keystr(orig, normalized):
@pytest.mark.parametrize('key, printable', [
(Qt.Key_Control, False),
(Qt.Key_Space, False),
(Qt.Key_Escape, False),
(Qt.Key_Tab, False),
(Qt.Key_Backspace, False),
(Qt.Key_Return, False),
(Qt.Key_Enter, False),
(Qt.Key_ydiaeresis, True),
(Qt.Key_X, True)
])
def test_is_printable(key, printable):