mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-13 01:48:31 +02:00
store status code so tests don't fail
This commit is contained in:
parent
ab70c56cf6
commit
c6a564e722
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ def we_run_jrnl(cli_run, capsys, keyring):
|
||||||
mocks[id] = stack.enter_context(factories[id]())
|
mocks[id] = stack.enter_context(factories[id]())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
cli()
|
cli_run["status"] = cli() or 0
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
# This happens when input is expected, but don't have any input left
|
# This happens when input is expected, but don't have any input left
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Add table
Reference in a new issue