diff --git a/docs/usage.rst b/docs/usage.rst index b15fc15cc..edfead5e9 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -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 ------------------------------