diff options
author | Erovia <erovia@users.noreply.github.com> | 2020-01-12 12:36:41 +0100 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2020-02-15 15:19:03 -0800 |
commit | 3db41817e0aa72e1406e29a4fb5f82db0c2a6cf1 (patch) | |
tree | 7a23300edcf429f1b46ce8a481431f715dfeb7c4 /lib/python/qmk/tests/test_cli_commands.py | |
parent | 8eeab1112aa1ca7336f88867a9a2ab680ae94b53 (diff) | |
download | qmk_firmware-3db41817e0aa72e1406e29a4fb5f82db0c2a6cf1.tar.gz qmk_firmware-3db41817e0aa72e1406e29a4fb5f82db0c2a6cf1.zip |
Code cleanup, use pathlib, use pytest keyboard
Clean up checks and logics that are unnecessary due to MILC updates.
Use pathlib instead of os.path for readability.
Use the 'pytest' keyboard for the tests.
Add community layout for 'handwired/onekey/pytest' so we can test
community layouts.
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
-rw-r--r-- | lib/python/qmk/tests/test_cli_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py index d884379035..bb77952faf 100644 --- a/lib/python/qmk/tests/test_cli_commands.py +++ b/lib/python/qmk/tests/test_cli_commands.py @@ -57,9 +57,9 @@ def test_list_keyboards(): def test_list_keymaps(): - result = check_subcommand("list-keymaps", "-kb", "planck/ez") + result = check_subcommand("list-keymaps", "-kb", "handwired/onekey/pytest") assert result.returncode == 0 - assert "planck/ez:default" and "planck/ez:drashna" in result.stdout + assert "default" and "test" in result.stdout def test_list_keymaps_no_keyboard_found(): |