Skip to content

Commit

Permalink
fixes tests once more
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfalcao committed Feb 8, 2024
1 parent 64cd222 commit 129df51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/reporters/test_feature_reporter.py
Expand Up @@ -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)))


Expand Down

0 comments on commit 129df51

Please sign in to comment.