From 1ac9e46db1e002c6aa7d0842afa6a7c799c508e2 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sun, 24 May 2020 13:50:03 -0700 Subject: [PATCH] Rule out context.execute_steps as cause of hanging Windows test --- features/steps/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/steps/core.py b/features/steps/core.py index 3086017f..b9a7a8a6 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) - context.execute_steps('when we run "jrnl"') + run_with_input(context, "jrnl") @then("the editor should have been called with {num} arguments")