diff options
| author | Zach White <[email protected]> | 2021-03-07 19:10:03 -0800 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-07 19:10:03 -0800 | 
| commit | b0069c5c05dac2c910d51ef7f3bf4133721a9c49 (patch) | |
| tree | ea8a7afb278f0ab4adb2e5390ef952c569ce3592 /lib/python/qmk/tests | |
| parent | 7d45b7f269ddcfc1b33a55d8fed77bdfbf81ba8b (diff) | |
| download | qmk_firmware-b0069c5c05dac2c910d51ef7f3bf4133721a9c49.tar.gz qmk_firmware-b0069c5c05dac2c910d51ef7f3bf4133721a9c49.zip | |
Begin the process of deprecating bin/qmk in favor of the global cli (#12109)
* Begin the process of deprecating bin/qmk in favor of the global cli
* Correctly set the qmk bin
Diffstat (limited to 'lib/python/qmk/tests')
| -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 82c42a20e8..bfecebdd78 100644 --- a/lib/python/qmk/tests/test_cli_commands.py +++ b/lib/python/qmk/tests/test_cli_commands.py @@ -8,7 +8,7 @@ is_windows = 'windows' in platform.platform().lower()  def check_subcommand(command, *args): -    cmd = ['bin/qmk', command, *args] +    cmd = ['qmk', command, *args]      result = run(cmd, stdout=PIPE, stderr=STDOUT, universal_newlines=True)      return result @@ -17,7 +17,7 @@ def check_subcommand_stdin(file_to_read, command, *args):      """Pipe content of a file to a command and return output.      """      with open(file_to_read, encoding='utf-8') as my_file: -        cmd = ['bin/qmk', command, *args] +        cmd = ['qmk', command, *args]          result = run(cmd, stdin=my_file, stdout=PIPE, stderr=STDOUT, universal_newlines=True)      return result | 
