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 | |
parent | 26f53d38d932a21be9edfc3d55e585c21050c3a2 (diff) |
Add test for list_keymaps
-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 f1a92d9a31..7dc51d2470 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(): # check to see if a known keyboard is returned # this will fail if handwired/onekey/pytest is removed assert 'handwired/onekey/pytest' in result.stdout + +def test_list_keymaps(): + result = check_subcommand("list_keymaps", "-kb", "planck/ez") + assert result.returncode == 0 + assert "planck/ez:default" and "planck/ez:drashna" in result.stdout |