diff options
author | Erovia <erovia@users.noreply.github.com> | 2019-10-13 20:23:11 +0200 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-10-23 22:46:30 -0700 |
commit | a5a31a5fc0f14f4f66cf362ee85747be159e364d (patch) | |
tree | 6e9788f22fa7c8207bd217bae7a2b6e50450b7a5 /lib/python/qmk/tests | |
parent | 4da9d2ef6f3f3a91738a209f8e692d7294ef70d5 (diff) | |
download | qmk_firmware-a5a31a5fc0f14f4f66cf362ee85747be159e364d.tar.gz qmk_firmware-a5a31a5fc0f14f4f66cf362ee85747be159e364d.zip |
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')
-rw-r--r-- | lib/python/qmk/tests/test_cli_commands.py | 2 |
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 c9d632517b..9a9dc4b958 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 |