mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
pep8 fix
This commit is contained in:
parent
561f0a7cff
commit
0ba56b5d58
@ -67,13 +67,13 @@ class TestImageIndexView(TestCase, WagtailTestUtils):
|
||||
|
||||
# prev link should exist and include collection_id
|
||||
self.assertTrue(
|
||||
("?p=1&collection_id=%i" % evil_plans_collection.id) in response_body
|
||||
or ("?collection_id=%i&p=1" % evil_plans_collection.id) in response_body
|
||||
("?p=1&collection_id=%i" % evil_plans_collection.id) in response_body or
|
||||
("?collection_id=%i&p=1" % evil_plans_collection.id) in response_body
|
||||
)
|
||||
# next link should exist and include collection_id
|
||||
self.assertTrue(
|
||||
("?p=3&collection_id=%i" % evil_plans_collection.id) in response_body
|
||||
or ("?collection_id=%i&p=3" % evil_plans_collection.id) in response_body
|
||||
("?p=3&collection_id=%i" % evil_plans_collection.id) in response_body or
|
||||
("?collection_id=%i&p=3" % evil_plans_collection.id) in response_body
|
||||
)
|
||||
|
||||
def test_ordering(self):
|
||||
|
Loading…
Reference in New Issue
Block a user