Skip to content

Commit

Permalink
Advertise the cool FAIL_INVALID_TEMPLATE_VARS flag (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Güttler committed Dec 15, 2020
1 parent 4800eca commit f9e7148
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ Additional command line options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fail tests that render templates which make use of invalid template variables.

You can switch it on in `pytest.ini`::

[pytest]
FAIL_INVALID_TEMPLATE_VARS = True
Additional pytest.ini settings
------------------------------

Expand Down

0 comments on commit f9e7148

Please sign in to comment.