aboutsummaryrefslogtreecommitdiff
path: root/lib/python/qmk/tests/test_cli_commands.py
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2024-06-24 02:30:03 +0000
committerQMK Bot <hello@qmk.fm>2024-06-24 02:30:03 +0000
commitc973ee1445c5121fcf2dfdbf7ffcd1a6b7a8ed9c (patch)
tree156168ecd5edacf6233adf85bf306e266d0ca3e8 /lib/python/qmk/tests/test_cli_commands.py
parentd4e98e9fda8ed2547f0742a8242ac8724a6dcbee (diff)
parent03e688e91f28d73416ada41c6db209c04d18cba7 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
-rw-r--r--lib/python/qmk/tests/test_cli_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py
index 1725e3ea79..8b50d1c340 100644
--- a/lib/python/qmk/tests/test_cli_commands.py
+++ b/lib/python/qmk/tests/test_cli_commands.py
@@ -249,7 +249,7 @@ def test_c2json_nocpp_stdin():
def test_clean():
result = check_subcommand('clean', '-a')
check_returncode(result)
- assert result.stdout.count('done') == 2
+ assert (result.stdout.count('done') == 2 and 'userspace' not in result.stdout) or (result.stdout.count('done') == 3 and 'userspace' in result.stdout)
def test_generate_api():