From c0a1c171f140df0b35c38cff232ce8b91e4fc7d1 Mon Sep 17 00:00:00 2001 From: Aaron Lichtman Date: Sat, 16 Nov 2019 13:06:04 +0100 Subject: [PATCH] Fix check_empty_output method --- features/steps/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/steps/core.py b/features/steps/core.py index ef3532d6..8bc73313 100644 --- a/features/steps/core.py +++ b/features/steps/core.py @@ -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')