diff options
| author | Ryan <[email protected]> | 2022-09-22 03:31:57 +1000 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-21 18:31:57 +0100 | 
| commit | 2f48d300f4fdce10d4183279f68cf4fe355cf605 (patch) | |
| tree | f71b8ddec7e68a9255f783226b4a159438753b2b /lib/python/qmk/tests/test_cli_commands.py | |
| parent | fc7f3f17e6bda78fb151d09f73faf4d673ec77af (diff) | |
| download | qmk_firmware-2f48d300f4fdce10d4183279f68cf4fe355cf605.tar.gz qmk_firmware-2f48d300f4fdce10d4183279f68cf4fe355cf605.zip | |
Normalise info_config.h define generation (#18439)
* Normalise info_config.h define generation
* format
* Fix tests
* Update lib/python/qmk/cli/generate/config_h.py
Co-authored-by: Nick Brassel <[email protected]>
Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
| -rw-r--r-- | lib/python/qmk/tests/test_cli_commands.py | 20 | 
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():  def test_generate_config_h():      result = check_subcommand('generate-config-h', '-kb', 'handwired/pytest/basic')      check_returncode(result) -    assert '#   define DEVICE_VER 0x0001' in result.stdout -    assert '#   define DIODE_DIRECTION COL2ROW' in result.stdout -    assert '#   define MANUFACTURER "none"' in result.stdout -    assert '#   define PRODUCT "pytest"' in result.stdout -    assert '#   define PRODUCT_ID 0x6465' in result.stdout -    assert '#   define VENDOR_ID 0xFEED' in result.stdout -    assert '#   define MATRIX_COLS 1' in result.stdout -    assert '#   define MATRIX_COL_PINS { F4 }' in result.stdout -    assert '#   define MATRIX_ROWS 1' in result.stdout -    assert '#   define MATRIX_ROW_PINS { F5 }' in result.stdout +    assert '#    define DEVICE_VER 0x0001' in result.stdout +    assert '#    define DIODE_DIRECTION COL2ROW' in result.stdout +    assert '#    define MANUFACTURER "none"' in result.stdout +    assert '#    define PRODUCT "pytest"' in result.stdout +    assert '#    define PRODUCT_ID 0x6465' in result.stdout +    assert '#    define VENDOR_ID 0xFEED' in result.stdout +    assert '#    define MATRIX_COLS 1' in result.stdout +    assert '#    define MATRIX_COL_PINS { F4 }' in result.stdout +    assert '#    define MATRIX_ROWS 1' in result.stdout +    assert '#    define MATRIX_ROW_PINS { F5 }' in result.stdout  def test_generate_rules_mk(): | 
