summaryrefslogtreecommitdiff
path: root/lib/python/qmk/tests
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-11-17 23:02:45 +0000
committerGitHub <noreply@github.com>2021-11-17 23:02:45 +0000
commitcd50fdf7ee6cdb1a5025f4e3e9540c0fd00499a7 (patch)
tree47e7c6405b52374a79ae328ed3accbaa1e8c925b /lib/python/qmk/tests
parentb5d24f9efb316351c73763eeac5fcc11b98e0ba1 (diff)
Add diff logic to python format subcommand (#15156)
* Add diff logic to python format subcommand * Update test * Add in filter per format-c * fix tests * Update new workflow
Diffstat (limited to 'lib/python/qmk/tests')
-rw-r--r--lib/python/qmk/tests/test_cli_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py
index b39fe5e46d..0dad5d5fc4 100644
--- a/lib/python/qmk/tests/test_cli_commands.py
+++ b/lib/python/qmk/tests/test_cli_commands.py
@@ -81,9 +81,9 @@ def test_hello():
def test_format_python():
- result = check_subcommand('format-python', '--dry-run')
+ result = check_subcommand('format-python', '-n', '-a')
check_returncode(result)
- assert 'Python code in `bin/qmk` and `lib/python` is correctly formatted.' in result.stdout
+ assert 'Successfully formatted the python code.' in result.stdout
def test_list_keyboards():