refactor: use the tag parser to streamline the tag handlers (#827)

This commit is contained in:
Juro Oravec 2024-12-13 09:00:03 +01:00 committed by GitHub
parent db4ca8b74f
commit 894dee3cad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 351 additions and 429 deletions

View file

@ -775,9 +775,7 @@ class SpreadOperatorTests(BaseTestCase):
)
)
with self.assertRaisesMessage(
TemplateSyntaxError, "'component' received some positional argument(s) after some keyword argument(s)"
):
with self.assertRaisesMessage(TemplateSyntaxError, "'component' received unknown flag 'var_a'"):
Template(template_str)
@parametrize_context_behavior(["django", "isolated"])