mirror of
https://github.com/django/django.git
synced 2025-12-23 09:19:27 +00:00
[6.0.x] Refs #35535 -- Used intended decorator in test_simple_block_tag_parens().
Backport of e94b19f6ab from main.
This commit is contained in:
parent
9cfdab2e8d
commit
cf4e036bde
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ class SimpleBlockTagRegistrationTests(SimpleTestCase):
|
|||
self.assertIn("func", self.library.tags)
|
||||
|
||||
def test_simple_block_tag_parens(self):
|
||||
@self.library.simple_tag()
|
||||
@self.library.simple_block_tag()
|
||||
def func(content):
|
||||
return content
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue