summaryrefslogtreecommitdiff
path: root/tests/generic_views/test_list.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-04-07 22:04:45 -0400
committerTim Graham <timograham@gmail.com>2016-04-08 10:12:33 -0400
commit92053acbb9160862c3e743a99ed8ccff8d4f8fd6 (patch)
tree50e7fd28a650f0e2352cf94f92e5a66d28a81988 /tests/generic_views/test_list.py
parentdf8d8d4292684d6ffa7474f1e201aed486f02b53 (diff)
Fixed E128 flake8 warnings in tests/.
Diffstat (limited to 'tests/generic_views/test_list.py')
-rw-r--r--tests/generic_views/test_list.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/generic_views/test_list.py b/tests/generic_views/test_list.py
index fb2ac20951..81993eaac0 100644
--- a/tests/generic_views/test_list.py
+++ b/tests/generic_views/test_list.py
@@ -238,8 +238,7 @@ class ListViewTests(TestCase):
self._make_authors(1)
res = self.client.get('/list/authors/paginated/2/')
self.assertEqual(res.status_code, 404)
- self.assertEqual(force_str(res.context.get('reason')),
- "Invalid page (2): That page contains no results")
+ self.assertEqual(force_str(res.context.get('reason')), "Invalid page (2): That page contains no results")
def _make_authors(self, n):
Author.objects.all().delete()