0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00

Makes Flake8 happy.

This commit is contained in:
Bertrand Bordage 2017-11-23 18:51:34 +01:00
parent 4a05f4ae23
commit 6fe6935997

View File

@ -523,9 +523,9 @@ class BackendTests(WagtailTestUtils):
def test_operators_combination(self):
results = self.backend.search(
((Term('Javascript') & ~Term('Definitive'))
| Term('Python') | Term('Rust'))
| Term('Two'),
((Term('Javascript') & ~Term('Definitive')) |
Term('Python') | Term('Rust')) |
Term('Two'),
models.Book.objects.all())
self.assertSetEqual({r.title for r in results},
{'JavaScript: The good parts',