mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-04 07:26:14 +02:00
rework mocks in test suite for new messaging functionality
This commit is contained in:
parent
d2f2967bc1
commit
34df64c989
4 changed files with 41 additions and 45 deletions
|
@ -61,7 +61,9 @@ def output_should_contain(
|
|||
assert (expected_output in cli_run["stderr"]) == we_should, output_str
|
||||
|
||||
else:
|
||||
assert (expected_output in cli_run[which_output_stream]) == we_should, output_str
|
||||
assert (
|
||||
expected_output in cli_run[which_output_stream]
|
||||
) == we_should, output_str
|
||||
|
||||
|
||||
@then(parse("the output should not contain\n{expected_output}"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue