Test for modifiers and corner case 0xFF
This commit is contained in:
parent
3a11a24be0
commit
d9a88e139c
@ -186,6 +186,13 @@ def test_normalize_keystr(orig, normalized):
|
|||||||
|
|
||||||
@pytest.mark.parametrize('key, printable', [
|
@pytest.mark.parametrize('key, printable', [
|
||||||
(Qt.Key_Control, False),
|
(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)
|
(Qt.Key_X, True)
|
||||||
])
|
])
|
||||||
def test_is_printable(key, printable):
|
def test_is_printable(key, printable):
|
||||||
|
Loading…
Reference in New Issue
Block a user