diff --git a/features/steps/core.py b/features/steps/core.py index 354bb2bb..84d4ccc9 100644 --- a/features/steps/core.py +++ b/features/steps/core.py @@ -78,6 +78,8 @@ def open_editor_and_enter(context, text=""): print("TMPFILE:", tmpfile) with open(tmpfile, "w+") as f: f.write(text) + + print("File contents:", open(tmpfile, "r").read()) return tmpfile with patch('subprocess.call', side_effect=_mock_editor_function):