summaryrefslogtreecommitdiff
path: root/lib/python/qmk/tests/test_cli_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
-rw-r--r--lib/python/qmk/tests/test_cli_commands.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py
index c8c4e2f80c..9bfc5a0a79 100644
--- a/lib/python/qmk/tests/test_cli_commands.py
+++ b/lib/python/qmk/tests/test_cli_commands.py
@@ -263,16 +263,16 @@ def test_generate_rgb_breathe_table():
263def test_generate_config_h(): 263def test_generate_config_h():
264 result = check_subcommand('generate-config-h', '-kb', 'handwired/pytest/basic') 264 result = check_subcommand('generate-config-h', '-kb', 'handwired/pytest/basic')
265 check_returncode(result) 265 check_returncode(result)
266 assert '# define DEVICE_VER 0x0001' in result.stdout 266 assert '# define DEVICE_VER 0x0001' in result.stdout
267 assert '# define DIODE_DIRECTION COL2ROW' in result.stdout 267 assert '# define DIODE_DIRECTION COL2ROW' in result.stdout
268 assert '# define MANUFACTURER "none"' in result.stdout 268 assert '# define MANUFACTURER "none"' in result.stdout
269 assert '# define PRODUCT "pytest"' in result.stdout 269 assert '# define PRODUCT "pytest"' in result.stdout
270 assert '# define PRODUCT_ID 0x6465' in result.stdout 270 assert '# define PRODUCT_ID 0x6465' in result.stdout
271 assert '# define VENDOR_ID 0xFEED' in result.stdout 271 assert '# define VENDOR_ID 0xFEED' in result.stdout
272 assert '# define MATRIX_COLS 1' in result.stdout 272 assert '# define MATRIX_COLS 1' in result.stdout
273 assert '# define MATRIX_COL_PINS { F4 }' in result.stdout 273 assert '# define MATRIX_COL_PINS { F4 }' in result.stdout
274 assert '# define MATRIX_ROWS 1' in result.stdout 274 assert '# define MATRIX_ROWS 1' in result.stdout
275 assert '# define MATRIX_ROW_PINS { F5 }' in result.stdout 275 assert '# define MATRIX_ROW_PINS { F5 }' in result.stdout
276 276
277 277
278def test_generate_rules_mk(): 278def test_generate_rules_mk():