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.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py
index 2fc6e0f72..c9d632517 100644
--- a/lib/python/qmk/tests/test_cli_commands.py
+++ b/lib/python/qmk/tests/test_cli_commands.py
@@ -37,3 +37,11 @@ def test_pyformat():
37 result = check_subcommand('pyformat') 37 result = check_subcommand('pyformat')
38 assert result.returncode == 0 38 assert result.returncode == 0
39 assert 'Successfully formatted the python code' in result.stderr 39 assert 'Successfully formatted the python code' in result.stderr
40
41
42def test_list_keyboards():
43 result = check_subcommand('list_keyboards')
44 assert result.returncode == 0
45 # check to see if a known keyboard is returned
46 # this will fail if handwired/onekey/pytest is removed
47 assert 'handwired/onekey/pytest' in result.stdout