pytest-dev / pytest-django

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

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

Closed xavfernandez closed 4 months ago

xavfernandez commented 7 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.