mirror of
https://github.com/django/django.git
synced 2025-10-28 16:16:12 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
@@ -73,9 +73,12 @@ class IncludeTagTests(SimpleTestCase):
|
||||
|
||||
@setup(
|
||||
{
|
||||
"include09": "{{ first }}--"
|
||||
'{% include "basic-syntax03" with first=second|lower|upper second=first|upper %}'
|
||||
"--{{ second }}"
|
||||
"include09": (
|
||||
"{{ first }}--"
|
||||
'{% include "basic-syntax03" with '
|
||||
"first=second|lower|upper second=first|upper %}"
|
||||
"--{{ second }}"
|
||||
)
|
||||
},
|
||||
basic_templates,
|
||||
)
|
||||
@@ -117,7 +120,9 @@ class IncludeTagTests(SimpleTestCase):
|
||||
|
||||
@setup(
|
||||
{
|
||||
"include13": '{% autoescape off %}{% include "basic-syntax03" %}{% endautoescape %}'
|
||||
"include13": (
|
||||
'{% autoescape off %}{% include "basic-syntax03" %}{% endautoescape %}'
|
||||
)
|
||||
},
|
||||
basic_templates,
|
||||
)
|
||||
@@ -350,7 +355,9 @@ class IncludeTests(SimpleTestCase):
|
||||
(
|
||||
"django.template.loaders.locmem.Loader",
|
||||
{
|
||||
"template": '{% for x in vars %}{% include "include" %}{% endfor %}',
|
||||
"template": (
|
||||
'{% for x in vars %}{% include "include" %}{% endfor %}'
|
||||
),
|
||||
"include": '{% include "next" %}',
|
||||
"next": "{% load custom %}{% counter %}",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user