diff --git a/features/steps/core.py b/features/steps/core.py index 8687ff0d..3086017f 100644 --- a/features/steps/core.py +++ b/features/steps/core.py @@ -95,7 +95,7 @@ def open_editor_and_enter(context, text=""): with patch("subprocess.call", side_effect=_mock_editor_function): print("About to run execute_steps", file=sys.stderr) - run(context, "jrnl") + context.execute_steps('when we run "jrnl"') @then("the editor should have been called with {num} arguments")