summaryrefslogtreecommitdiff
path: root/keyboards/handwired/pytest/has_community
diff options
context:
space:
mode:
authorNiko Wenselowski <niko@nerdno.de>2022-07-23 18:42:19 +0200
committerGitHub <noreply@github.com>2022-07-23 17:42:19 +0100
commit1f42a8ccdd10a1f1ac1ed1a0ab62d2c9e5dc3ffa (patch)
treecd11520ecfcb81466f033b7319d63a1c6b1d6e5e /keyboards/handwired/pytest/has_community
parent2202efaf0cdae766b76de1f87dc3c440480e5280 (diff)
downloadqmk_firmware-1f42a8ccdd10a1f1ac1ed1a0ab62d2c9e5dc3ffa.tar.gz
qmk_firmware-1f42a8ccdd10a1f1ac1ed1a0ab62d2c9e5dc3ffa.zip
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.
Diffstat (limited to 'keyboards/handwired/pytest/has_community')
0 files changed, 0 insertions, 0 deletions