aboutsummaryrefslogtreecommitdiff
path: root/lib/python/qmk/tests/test_cli_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
-rw-r--r--lib/python/qmk/tests/test_cli_commands.py3
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 @@
1import subprocess 1import subprocess
2from qmk.commands import run
2 3
3 4
4def check_subcommand(command, *args): 5def 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
9def test_cformat(): 10def test_cformat():