Skip to content

Commit f9e7148

Browse files
author
Thomas Güttler
authored
Advertise the cool FAIL_INVALID_TEMPLATE_VARS flag (#895)
1 parent 4800eca commit f9e7148

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/usage.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ Additional command line options
2929
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3030
Fail tests that render templates which make use of invalid template variables.
3131

32+
You can switch it on in `pytest.ini`::
33+
34+
[pytest]
35+
FAIL_INVALID_TEMPLATE_VARS = True
36+
3237
Additional pytest.ini settings
3338
------------------------------
3439

0 commit comments

Comments
 (0)