diff options
| author | Ryan <fauxpark@gmail.com> | 2020-10-07 10:46:10 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-06 16:46:10 -0700 |
| commit | 2c9ffd47391b8dec98db94bef9b2f5c14a57cf94 (patch) | |
| tree | 57f743159e972e3e2cd215ab256675d3c84d1832 /lib/python/qmk/tests/test_cli_commands.py | |
| parent | 2013f6313430b977e557e482d30daa279a46e75d (diff) | |
CLI: update subcommands to use return instead of exit() (#10323)
Diffstat (limited to 'lib/python/qmk/tests/test_cli_commands.py')
| -rw-r--r-- | lib/python/qmk/tests/test_cli_commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py index 68f8ed6047..0b840b4668 100644 --- a/lib/python/qmk/tests/test_cli_commands.py +++ b/lib/python/qmk/tests/test_cli_commands.py | |||
| @@ -45,8 +45,9 @@ def test_config(): | |||
| 45 | 45 | ||
| 46 | 46 | ||
| 47 | def test_kle2json(): | 47 | def test_kle2json(): |
| 48 | result = check_subcommand('kle2json', 'kle.txt', '-f') | 48 | result = check_subcommand('kle2json', 'lib/python/qmk/tests/kle.txt', '-f') |
| 49 | check_returncode(result) | 49 | check_returncode(result) |
| 50 | assert 'Wrote out' in result.stdout | ||
| 50 | 51 | ||
| 51 | 52 | ||
| 52 | def test_doctor(): | 53 | def test_doctor(): |
