diff options
author | Erovia <erovia@users.noreply.github.com> | 2019-10-13 19:16:19 +0200 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2020-02-15 15:19:03 -0800 |
commit | f8002828cac83272e5804bf705e20d07ac64e7a0 (patch) | |
tree | acc79e48d7c7192b692f8ae1147bac580a6cc48b /lib/python/qmk/tests/test_cli_commands.py | |
parent | 26f53d38d932a21be9edfc3d55e585c21050c3a2 (diff) | |
download | qmk_firmware-f8002828cac83272e5804bf705e20d07ac64e7a0.tar.gz qmk_firmware-f8002828cac83272e5804bf705e20d07ac64e7a0.zip |
Add test for list_keymaps
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
-rw-r--r-- | lib/python/qmk/tests/test_cli_commands.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py index f1a92d9a3..7dc51d247 100644 --- a/lib/python/qmk/tests/test_cli_commands.py +++ b/lib/python/qmk/tests/test_cli_commands.py | |||
@@ -54,3 +54,8 @@ def test_list_keyboards(): | |||
54 | # check to see if a known keyboard is returned | 54 | # check to see if a known keyboard is returned |
55 | # this will fail if handwired/onekey/pytest is removed | 55 | # this will fail if handwired/onekey/pytest is removed |
56 | assert 'handwired/onekey/pytest' in result.stdout | 56 | assert 'handwired/onekey/pytest' in result.stdout |
57 | |||
58 | def test_list_keymaps(): | ||
59 | result = check_subcommand("list_keymaps", "-kb", "planck/ez") | ||
60 | assert result.returncode == 0 | ||
61 | assert "planck/ez:default" and "planck/ez:drashna" in result.stdout | ||