CLI: update subcommands to use return instead of exit() (#10323)
This commit is contained in:
parent
2013f63134
commit
2c9ffd4739
9 changed files with 20 additions and 18 deletions
2
lib/python/qmk/tests/.gitignore
vendored
Normal file
2
lib/python/qmk/tests/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Ignore generated info.json from pytest
|
||||
info.json
|
|
@ -45,8 +45,9 @@ def test_config():
|
|||
|
||||
|
||||
def test_kle2json():
|
||||
result = check_subcommand('kle2json', 'kle.txt', '-f')
|
||||
result = check_subcommand('kle2json', 'lib/python/qmk/tests/kle.txt', '-f')
|
||||
check_returncode(result)
|
||||
assert 'Wrote out' in result.stdout
|
||||
|
||||
|
||||
def test_doctor():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue