summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests
diff options
context:
space:
mode:
authorLoic Bistuer <loic.bistuer@sixmedia.com>2013-12-13 03:23:24 +0700
committerTim Graham <timograham@gmail.com>2013-12-14 11:59:15 -0500
commit668571386926ff5453d0e11f59b0a89c0dc1dfa2 (patch)
treeab2cf4f5c32d966452ef01eee93c09642f769b6a /tests/staticfiles_tests
parentd599b590ebe6e2d3a60cf033de4d81c6b963bb04 (diff)
Fixed E127 pep8 warnings.
Diffstat (limited to 'tests/staticfiles_tests')
-rw-r--r--tests/staticfiles_tests/tests.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/staticfiles_tests/tests.py b/tests/staticfiles_tests/tests.py
index a218194e4c..f5d871587c 100644
--- a/tests/staticfiles_tests/tests.py
+++ b/tests/staticfiles_tests/tests.py
@@ -80,7 +80,7 @@ class BaseStaticFilesTestCase(object):
def assertFileContains(self, filepath, text):
self.assertIn(text, self._get_file(force_text(filepath)),
- "'%s' not in '%s'" % (text, filepath))
+ "'%s' not in '%s'" % (text, filepath))
def assertFileNotFound(self, filepath):
self.assertRaises(IOError, self._get_file, filepath)
@@ -783,8 +783,7 @@ class TestMiscFinder(TestCase):
class TestTemplateTag(StaticFilesTestCase):
def test_template_tag(self):
- self.assertStaticRenders("does/not/exist.png",
- "/static/does/not/exist.png")
+ self.assertStaticRenders("does/not/exist.png", "/static/does/not/exist.png")
self.assertStaticRenders("testfile.txt", "/static/testfile.txt")