From f741536e5d44143ab3bcb0a5bee3a3700635ee03 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 15 Dec 2025 09:51:59 -0600 Subject: [PATCH] pytest-django: fail on invalid template vars --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 3f6039b9f..20c8dc1dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -257,6 +257,7 @@ ignore_errors = true [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "relate.settings" +FAIL_INVALID_TEMPLATE_VARS = true python_files = [ "tests.py", "test_*.py",