aboutsummaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/tests/test_cli_commands.py
diff options
context:
space:
mode:
authorGravatar Erovia <erovia@users.noreply.github.com>2019-10-13 20:23:11 +0200
committerGravatar skullydazed <skullydazed@users.noreply.github.com>2019-10-23 22:46:30 -0700
commita5a31a5fc0f14f4f66cf362ee85747be159e364d (patch)
tree6e9788f22fa7c8207bd217bae7a2b6e50450b7a5 /lib/python/qmk/tests/test_cli_commands.py
parent4da9d2ef6f3f3a91738a209f8e692d7294ef70d5 (diff)
downloadqmk_firmware-a5a31a5fc0f14f4f66cf362ee85747be159e364d.tar.gz
MILC: Use dashes instead of underscores for subcommands
The subcommand functions' name follows the Python convention of using snake case, but looks odd on the command line. Fix it by converting underscores to dashes, eg.: list_keyboards -> list-keyboards.
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
-rw-r--r--lib/python/qmk/tests/test_cli_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py
index c9d632517..9a9dc4b95 100644
--- a/lib/python/qmk/tests/test_cli_commands.py
+++ b/lib/python/qmk/tests/test_cli_commands.py
@@ -40,7 +40,7 @@ def test_pyformat():
def test_list_keyboards():
- result = check_subcommand('list_keyboards')
+ result = check_subcommand('list-keyboards')
assert result.returncode == 0
# check to see if a known keyboard is returned
# this will fail if handwired/onekey/pytest is removed