mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +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
|
# prev link should exist and include collection_id
|
||||||
self.assertTrue(
|
self.assertTrue(
|
||||||
("?p=1&collection_id=%i" % evil_plans_collection.id) in response_body
|
("?p=1&collection_id=%i" % evil_plans_collection.id) in response_body or
|
||||||
or ("?collection_id=%i&p=1" % evil_plans_collection.id) in response_body
|
("?collection_id=%i&p=1" % evil_plans_collection.id) in response_body
|
||||||
)
|
)
|
||||||
# next link should exist and include collection_id
|
# next link should exist and include collection_id
|
||||||
self.assertTrue(
|
self.assertTrue(
|
||||||
("?p=3&collection_id=%i" % evil_plans_collection.id) in response_body
|
("?p=3&collection_id=%i" % evil_plans_collection.id) in response_body or
|
||||||
or ("?collection_id=%i&p=3" % evil_plans_collection.id) in response_body
|
("?collection_id=%i&p=3" % evil_plans_collection.id) in response_body
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_ordering(self):
|
def test_ordering(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user