1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #33476 -- Refactored code to strictly match 88 characters line length.

This commit is contained in:
Mariusz Felisiak
2022-02-04 08:08:27 +01:00
parent 9c19aff7c7
commit 7119f40c98
404 changed files with 5944 additions and 2842 deletions

View File

@@ -44,7 +44,10 @@ class StaticTagTests(SimpleTestCase):
@setup(
{
"t": "{% load static %}{% get_media_prefix ad media_prefix %}{{ media_prefix }}"
"t": (
"{% load static %}{% get_media_prefix ad media_prefix %}"
"{{ media_prefix }}"
)
}
)
def test_static_prefixtag_without_as(self):
@@ -66,7 +69,9 @@ class StaticTagTests(SimpleTestCase):
@setup(
{
"static-statictag03": '{% load static %}{% static "admin/base.css" as foo %}{{ foo }}'
"static-statictag03": (
'{% load static %}{% static "admin/base.css" as foo %}{{ foo }}'
)
}
)
def test_static_statictag03(self):
@@ -84,7 +89,9 @@ class StaticTagTests(SimpleTestCase):
@setup(
{
"static-statictag05": '{% load static %}{% static "special?chars&quoted.html" %}'
"static-statictag05": (
'{% load static %}{% static "special?chars&quoted.html" %}'
)
}
)
def test_static_quotes_urls(self):