summaryrefslogtreecommitdiffstats
path: root/lib/python
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-30 01:51:45 +1000
committerGitHub <noreply@github.com>2023-04-30 01:51:45 +1000
commit998a4d744e60d7d769ddabad1bc8653314f02b02 (patch)
tree8040bfd3cd910fb0f6416dc65d88564593e9046b /lib/python
parent03328ea7a88995138e0696304738d10942f55129 (diff)
Remove `FLIP_HALF` layouts and move to data driven (#20588)
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/qmk/tests/test_cli_commands.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py
index 28838ec368..176a52a35a 100644
--- a/lib/python/qmk/tests/test_cli_commands.py
+++ b/lib/python/qmk/tests/test_cli_commands.py
@@ -168,7 +168,7 @@ def test_json2c_wrong_json():
def test_json2c_no_json():
- result = check_subcommand('json2c', 'keyboards/handwired/pytest/pytest.h')
+ result = check_subcommand('json2c', 'keyboards/handwired/pytest/config.h')
check_returncode(result, [1])
assert 'Invalid JSON encountered' in result.stdout
@@ -188,7 +188,11 @@ def test_info_keyboard_render():
assert 'Keyboard Name: pytest' in result.stdout
assert 'Processor: atmega32u4' in result.stdout
assert 'Layouts:' in result.stdout
- assert 'k0' in result.stdout
+
+ if is_windows:
+ assert '| |' in result.stdout
+ else:
+ assert '│ │' in result.stdout
def test_info_keymap_render():