mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
@@ -100,16 +100,18 @@ class CacheTagTests(SimpleTestCase):
|
||||
"""
|
||||
Regression test for #11270.
|
||||
"""
|
||||
output = self.engine.render_to_string('cache17', {'poem': 'Oh freddled gruntbuggly/'
|
||||
'Thy micturations are to me/'
|
||||
'As plurdled gabbleblotchits/'
|
||||
'On a lurgid bee/'
|
||||
'That mordiously hath bitled out/'
|
||||
'Its earted jurtles/'
|
||||
'Into a rancid festering/'
|
||||
'Or else I shall rend thee in the gobberwarts'
|
||||
'with my blurglecruncheon/'
|
||||
'See if I dont.'})
|
||||
output = self.engine.render_to_string(
|
||||
'cache17',
|
||||
{
|
||||
'poem': (
|
||||
'Oh freddled gruntbuggly/Thy micturations are to me/'
|
||||
'As plurdled gabbleblotchits/On a lurgid bee/'
|
||||
'That mordiously hath bitled out/Its earted jurtles/'
|
||||
'Into a rancid festering/Or else I shall rend thee in the gobberwarts'
|
||||
'with my blurglecruncheon/See if I dont.'
|
||||
),
|
||||
}
|
||||
)
|
||||
self.assertEqual(output, 'Some Content')
|
||||
|
||||
@setup({'cache18': '{% load cache custom %}{% cache 2|noop:"x y" cache18 %}cache18{% endcache %}'})
|
||||
|
||||
Reference in New Issue
Block a user