Fix check_empty_output method

This commit is contained in:
Aaron Lichtman 2019-11-16 13:06:04 +01:00
parent d378e2522d
commit c0a1c171f1
No known key found for this signature in database
GPG key ID: 22368077DE9F9903

View file

@ -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')