mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-12 17:38:32 +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]())
|
||||
|
||||
try:
|
||||
cli()
|
||||
cli_run["status"] = cli() or 0
|
||||
except StopIteration:
|
||||
# This happens when input is expected, but don't have any input left
|
||||
pass
|
||||
|
|
Loading…
Add table
Reference in a new issue