keychron_qmk_firmware/lib/python/qmk/tests
Niko Wenselowski 1f42a8ccdd
Fix test logic to check for both keymaps (#17761)
Python will evaluate first the left and then the right side of the and operator.

The left side would previously return True based on the truthiness logic that treats any non-emptry string as true.

It would not check if the desired keymap exists.

If the left side is true it will evaluate the right side which will check for the existance of a specific keymap.

With this change the check for existance of two keymaps is implemented.
2022-07-23 17:42:19 +01:00
..
__init__.py
.gitignore CLI: update subcommands to use return instead of exit() (#10323) 2020-10-06 16:46:10 -07:00
attrdict.py Small CLI cleanups 2019-11-12 18:41:38 -08:00
kle.txt Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
minimal_info.json Map PRODUCT define to keyboard_name (#14372) 2021-11-05 08:08:52 +11:00
minimal_keymap.json Add a qmk format-json command that will format JSON files (#12372) 2021-03-25 22:38:10 +11:00
test_cli_commands.py Fix test logic to check for both keymaps (#17761) 2022-07-23 17:42:19 +01:00
test_qmk_errors.py Add pep8-naming to our python linting 2019-12-01 13:40:14 -08:00
test_qmk_keymap.py Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08:00
test_qmk_path.py Migrate python tests away from onekey (#11367) 2021-01-05 00:52:31 +00:00