summaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/qmk/cli/new/keyboard.py2
-rw-r--r--lib/python/qmk/tests/test_cli_commands.py18
2 files changed, 12 insertions, 8 deletions
diff --git a/lib/python/qmk/cli/new/keyboard.py b/lib/python/qmk/cli/new/keyboard.py
index 8d4def1bef..d7f88db135 100644
--- a/lib/python/qmk/cli/new/keyboard.py
+++ b/lib/python/qmk/cli/new/keyboard.py
@@ -17,7 +17,7 @@ from qmk.json_encoders import InfoJSONEncoder
from qmk.json_schema import deep_update, json_load
from qmk.constants import MCU2BOOTLOADER
-COMMUNITY = Path('layouts/default/')
+COMMUNITY = Path('layouts/community/')
TEMPLATE = Path('data/templates/keyboard/')
# defaults
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py
index d40d4bf573..71830ce194 100644
--- a/lib/python/qmk/tests/test_cli_commands.py
+++ b/lib/python/qmk/tests/test_cli_commands.py
@@ -113,21 +113,25 @@ def test_list_keymaps_community():
def test_list_keymaps_kb_only():
+<<<<<<< HEAD
+ result = check_subcommand('list-keymaps', '-kb', 'moonlander')
+=======
result = check_subcommand('list-keymaps', '-kb', 'contra')
+>>>>>>> qmk/master
check_returncode(result)
- assert 'default' and 'via' in result.stdout
+ assert 'default' and 'oyrx' and 'webusb' in result.stdout
def test_list_keymaps_vendor_kb():
- result = check_subcommand('list-keymaps', '-kb', 'ai03/lunar')
+ result = check_subcommand('list-keymaps', '-kb', 'planck/ez')
check_returncode(result)
- assert 'default' and 'via' in result.stdout
+ assert 'default' and 'oryx' and 'webusb' in result.stdout
-def test_list_keymaps_vendor_kb_rev():
- result = check_subcommand('list-keymaps', '-kb', 'kbdfans/kbd67/mkiirgb/v2')
- check_returncode(result)
- assert 'default' and 'via' in result.stdout
+# def test_list_keymaps_vendor_kb_rev():
+# result = check_subcommand('list-keymaps', '-kb', 'kbdfans/kbd67/mkiirgb/v2')
+# check_returncode(result)
+# assert 'default' and 'via' in result.stdout
def test_list_keymaps_no_keyboard_found():