diff options
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
| -rw-r--r-- | lib/python/qmk/tests/test_cli_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py index a7b70a7d9..afdbc8142 100644 --- a/lib/python/qmk/tests/test_cli_commands.py +++ b/lib/python/qmk/tests/test_cli_commands.py | |||
| @@ -7,7 +7,7 @@ is_windows = 'windows' in platform.platform().lower() | |||
| 7 | 7 | ||
| 8 | 8 | ||
| 9 | def check_subcommand(command, *args): | 9 | def check_subcommand(command, *args): |
| 10 | cmd = ['bin/qmk', command, *args] | 10 | cmd = ['qmk', command, *args] |
| 11 | result = cli.run(cmd, stdin=DEVNULL, combined_output=True) | 11 | result = cli.run(cmd, stdin=DEVNULL, combined_output=True) |
| 12 | return result | 12 | return result |
| 13 | 13 | ||
| @@ -16,7 +16,7 @@ def check_subcommand_stdin(file_to_read, command, *args): | |||
| 16 | """Pipe content of a file to a command and return output. | 16 | """Pipe content of a file to a command and return output. |
| 17 | """ | 17 | """ |
| 18 | with open(file_to_read, encoding='utf-8') as my_file: | 18 | with open(file_to_read, encoding='utf-8') as my_file: |
| 19 | cmd = ['bin/qmk', command, *args] | 19 | cmd = ['qmk', command, *args] |
| 20 | result = cli.run(cmd, stdin=my_file, combined_output=True) | 20 | result = cli.run(cmd, stdin=my_file, combined_output=True) |
| 21 | return result | 21 | return result |
| 22 | 22 | ||
