diff options
author | Joel Challis <git@zvecr.com> | 2021-11-17 23:02:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 23:02:45 +0000 |
commit | cd50fdf7ee6cdb1a5025f4e3e9540c0fd00499a7 (patch) | |
tree | 47e7c6405b52374a79ae328ed3accbaa1e8c925b /lib/python/qmk/tests | |
parent | b5d24f9efb316351c73763eeac5fcc11b98e0ba1 (diff) | |
download | qmk_firmware-cd50fdf7ee6cdb1a5025f4e3e9540c0fd00499a7.tar.gz qmk_firmware-cd50fdf7ee6cdb1a5025f4e3e9540c0fd00499a7.zip |
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.py | 4 |
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 b39fe5e46..0dad5d5fc 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(): | |||
81 | 81 | ||
82 | 82 | ||
83 | def test_format_python(): | 83 | def test_format_python(): |
84 | result = check_subcommand('format-python', '--dry-run') | 84 | result = check_subcommand('format-python', '-n', '-a') |
85 | check_returncode(result) | 85 | check_returncode(result) |
86 | assert 'Python code in `bin/qmk` and `lib/python` is correctly formatted.' in result.stdout | 86 | assert 'Successfully formatted the python code.' in result.stdout |
87 | 87 | ||
88 | 88 | ||
89 | def test_list_keyboards(): | 89 | def test_list_keyboards(): |