Make tests fail for invalid template variables
@@ -6,6 +6,9 @@ build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "vulnerablecode.settings"
+# Fail tests that render templates which make use of invalid template variables.
+FAIL_INVALID_TEMPLATE_VARS = true
+
markers = [
"webtest",
]
