spiegel-keyman/linux/keyman-config/tests
Eberhard Beilharz c3487e964d
fix(linux): don't crash if kmp.json is missing keyboards section 🍒
Some keyboards seem to be missing the `keyboards` section in the
`kmp.json` file. This change prevents a crash and instead returns `None`
and thus we don't create a .ldml file and so onboard will show the
default keyboard instead. The alternative would be to create an empty
.ldml file, but that causes onboard to show a keyboard with all key caps
being empty.

Cherry-pick-of: #14708
Fixes: #14707
Fixes: KEYMAN-LINUX-8P
Test-bot: skip
2025-09-09 16:32:36 +02:00
..
bcp47tag_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
canonical_language_code_utils_tests.py chore(common): update tests where region data has been added 2025-03-10 09:33:01 +07:00
custom_keyboards_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
dbus_util_tests.py fix(linux): ignore DBusException during install and uninstall 2025-02-26 18:24:27 +01:00
dconf_util_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
get_kmp_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
gnome_keyboards_util_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
gsettings_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
handle_install_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
ibus_util_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
install_kmp_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
kvk2ldml_tests.py fix(linux): don't crash if kmp.json is missing keyboards section 🍒 2025-09-09 16:32:36 +02:00
lang_tags_map_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
package_install_completion_tests.py chore(linux): rename test files 2024-11-26 19:06:02 +01:00
python.env chore(linux): Add some unit tests for keyman_config 2020-06-17 09:19:19 +02:00
uninstall_kmp_tests.py fix(linux): ignore DBusException during install and uninstall 2025-02-26 18:24:27 +01:00