Revert run command back to context.execute_steps; tests are passing locally

This commit is contained in:
Micah Jerome Ellison 2020-05-24 14:55:03 -07:00
parent fabf924349
commit 2950e03263

View file

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