1
0
Fork 0

CLI: update subcommands to use return instead of exit() (#10323)

This commit is contained in:
Ryan 2020-10-07 10:46:10 +11:00 committed by GitHub
parent 2013f63134
commit 2c9ffd4739
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 20 additions and 18 deletions

2
lib/python/qmk/tests/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
# Ignore generated info.json from pytest
info.json

View file

@ -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():