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:
parent
4a05f4ae23
commit
6fe6935997
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user