diff options
| author | Jake Howard <git@theorangeone.net> | 2025-11-12 17:41:32 +0000 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-12-05 10:06:48 -0500 |
| commit | 0ac548635eee801d5de49bec482b7b8e1e97ef59 (patch) | |
| tree | cfa0aa9b73c8d0a5e614fe8c8cc6adbc7d3a2efb /tests/admin_views | |
| parent | 55888655a269f41025405b9a1bff14117ae58e2a (diff) | |
Fixed #36728 -- Validated template tag arguments at definition time.
Before, `context` and `content` were validated at compile time.
Diffstat (limited to 'tests/admin_views')
| -rw-r--r-- | tests/admin_views/test_templatetags.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/admin_views/test_templatetags.py b/tests/admin_views/test_templatetags.py index e8129cce1d..69bae27412 100644 --- a/tests/admin_views/test_templatetags.py +++ b/tests/admin_views/test_templatetags.py @@ -144,6 +144,7 @@ class AdminTemplateTagsTest(AdminViewBasicTestCase): # inspect.getfullargspec(), which is not ready for deferred # evaluation of annotations. InclusionAdminNode( + "test", parser=object(), token=Token(token_type=TokenType.TEXT, contents="a"), func=action, |
