pytest-dev / pytest-django

A Django plugin for pytest.
https://pytest-django.readthedocs.io/
Other
1.37k stars 344 forks source link

fail-on-template-vars: be more discreet with ignore_template_errors #1121

Closed xavfernandez closed 2 months ago

xavfernandez commented 5 months ago

When using the @pytest.mark.ignore_template_errors on a test, we could expect the test to return to its original behavior (just like running them without --fail-on-template-vars).

This would ease the use of the option since ignored tests are less likely to crash.