From 92053acbb9160862c3e743a99ed8ccff8d4f8fd6 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 7 Apr 2016 22:04:45 -0400 Subject: Fixed E128 flake8 warnings in tests/. --- tests/template_tests/syntax_tests/test_cache.py | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'tests/template_tests/syntax_tests/test_cache.py') diff --git a/tests/template_tests/syntax_tests/test_cache.py b/tests/template_tests/syntax_tests/test_cache.py index 2039e7808c..7f7a6cd2cb 100644 --- a/tests/template_tests/syntax_tests/test_cache.py +++ b/tests/template_tests/syntax_tests/test_cache.py @@ -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 %}'}) -- cgit v1.3