mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Fix check_empty_output method
This commit is contained in:
parent
d378e2522d
commit
c0a1c171f1
1 changed files with 2 additions and 2 deletions
|
@ -190,8 +190,8 @@ def check_json_output_path(context, path, value):
|
|||
|
||||
|
||||
@then('the output should be empty')
|
||||
def check_empty_output(context, text=None):
|
||||
assert (text or context.text) is None
|
||||
def check_empty_output(context):
|
||||
assert context.stdout_capture is None
|
||||
|
||||
|
||||
@then('the output should be')
|
||||
|
|
Loading…
Add table
Reference in a new issue