From 129df51c5e18ef2cf711388a74d9be31a8ed793b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Falc=C3=A3o?= Date: Thu, 8 Feb 2024 04:13:58 +0000 Subject: [PATCH] fixes tests once more --- tests/unit/reporters/test_feature_reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/reporters/test_feature_reporter.py b/tests/unit/reporters/test_feature_reporter.py index bc5cd96..0ceb57e 100644 --- a/tests/unit/reporters/test_feature_reporter.py +++ b/tests/unit/reporters/test_feature_reporter.py @@ -399,7 +399,7 @@ def contrive_special_syntax_disabled_error(): reporter.on_internal_runtime_error(context, error) - expects(sh.mock_calls).to.equal([call.bold_red(' File "~/projects/personal/sure/tests/unit/reporters/test_feature_reporter.py", line 392, in contrive_special_syntax_disabled_error\n raise InternalRuntimeError(context, RuntimeError("fail"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n')]) + expects(sh.mock_calls).to.equal([call.bold_red(f' File "{collapse_path(__file__)}", line 392, in contrive_special_syntax_disabled_error\n raise InternalRuntimeError(context, RuntimeError("fail"))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n')]) exit.assert_called_once_with(exit_code(str(exc)))