diff options
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
-rw-r--r-- | lib/python/qmk/tests/test_cli_commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py index a2595eb78..3b4e66a21 100644 --- a/lib/python/qmk/tests/test_cli_commands.py +++ b/lib/python/qmk/tests/test_cli_commands.py | |||
@@ -1,9 +1,10 @@ | |||
1 | import subprocess | 1 | import subprocess |
2 | from qmk.commands import run | ||
2 | 3 | ||
3 | 4 | ||
4 | def check_subcommand(command, *args): | 5 | def check_subcommand(command, *args): |
5 | cmd = ['bin/qmk', command] + list(args) | 6 | cmd = ['bin/qmk', command] + list(args) |
6 | return subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) | 7 | return run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) |
7 | 8 | ||
8 | 9 | ||
9 | def test_cformat(): | 10 | def test_cformat(): |