0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Fixes an undefined variable.

This commit is contained in:
Bertrand Bordage 2017-11-23 16:57:52 +01:00
parent 1bb6613bcc
commit 019f59f486

View File

@ -198,7 +198,7 @@ class TestElasticsearch5SearchQuery(TestCase):
def test_none_lookup(self):
# Create a query
query = self.query_compiler_class(models.Book.objects.filter(title=None), "Hello")
query_compiler = self.query_compiler_class(models.Book.objects.filter(title=None), "Hello")
# Check it
expected_result = {'bool': {'filter': [