Fixup python tests for missing via keymaps.

This commit is contained in:
Nick Brassel 2024-08-26 09:57:35 +10:00
parent 9976d0f547
commit 5741eb7b10
No known key found for this signature in database

View File

@ -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():