qutebrowser/tests/unit/keyinput
Florian Bruhin f7753550f2 keyutils: Move public functions to KeyInfo
This avoids the temptation of creating a Qt.Key() manually, which needs
to be checked for ValueError with PyQt 6.2 due to its handling of unknown enum
values.

This is exactly what happened in RegisterKeyParser, which caused such a
ValueError:
https://github.com/qutebrowser/qutebrowser/issues/7047#issuecomment-1163288560

Closes #7047
2022-08-23 18:31:42 +02:00
..
conftest.py qt6 tests: Also apply pyqt_enum_workaround() for modeparsers 2022-08-23 18:31:41 +02:00
key_data.py Adjust some fixme comments 2022-08-23 18:31:42 +02:00
test_basekeyparser.py Run scripts/dev/rewrite_enums.py 2022-08-23 18:31:38 +02:00
test_bindingtrie.py Run scripts/dev/rewrite_enums.py 2022-08-23 18:31:38 +02:00
test_keyutils.py keyutils: Move public functions to KeyInfo 2022-08-23 18:31:42 +02:00
test_modeman.py Fix return value for FakeKeyParser.handle 2022-08-23 18:31:41 +02:00
test_modeparsers.py qt6 tests: Also apply pyqt_enum_workaround() for modeparsers 2022-08-23 18:31:41 +02:00