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
..
.gitignore
__init__.py
attrdict.py
kle.txt
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
test_qmk_keymap.py Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08:00
test_qmk_path.py