mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 09:27:36 +06:00
Fixup python tests for missing via
keymaps.
This commit is contained in:
parent
9976d0f547
commit
5741eb7b10
|
@ -118,21 +118,18 @@ def test_list_keymaps_kb_only():
|
||||||
result = check_subcommand('list-keymaps', '-kb', 'contra')
|
result = check_subcommand('list-keymaps', '-kb', 'contra')
|
||||||
check_returncode(result)
|
check_returncode(result)
|
||||||
assert 'default' in result.stdout
|
assert 'default' in result.stdout
|
||||||
assert 'via' in result.stdout
|
|
||||||
|
|
||||||
|
|
||||||
def test_list_keymaps_vendor_kb():
|
def test_list_keymaps_vendor_kb():
|
||||||
result = check_subcommand('list-keymaps', '-kb', 'ai03/lunar')
|
result = check_subcommand('list-keymaps', '-kb', 'ai03/lunar')
|
||||||
check_returncode(result)
|
check_returncode(result)
|
||||||
assert 'default' in result.stdout
|
assert 'default' in result.stdout
|
||||||
assert 'via' in result.stdout
|
|
||||||
|
|
||||||
|
|
||||||
def test_list_keymaps_vendor_kb_rev():
|
def test_list_keymaps_vendor_kb_rev():
|
||||||
result = check_subcommand('list-keymaps', '-kb', 'kbdfans/kbd67/mkiirgb/v2')
|
result = check_subcommand('list-keymaps', '-kb', 'kbdfans/kbd67/mkiirgb/v2')
|
||||||
check_returncode(result)
|
check_returncode(result)
|
||||||
assert 'default' in result.stdout
|
assert 'default' in result.stdout
|
||||||
assert 'via' in result.stdout
|
|
||||||
|
|
||||||
|
|
||||||
def test_list_keymaps_no_keyboard_found():
|
def test_list_keymaps_no_keyboard_found():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user