mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
{} => set()
This commit is contained in:
parent
085f1e1678
commit
73ffbc0d17
@ -73,7 +73,7 @@ class ElasticsearchCommonSearchBackendTests(object):
|
||||
|
||||
# Even though they both start with "Java", this should not match the "JavaScript" books
|
||||
results = self.backend.search("JavaBeans", models.Book)
|
||||
self.assertEqual(set(r.title for r in results), {})
|
||||
self.assertEqual(set(r.title for r in results), set())
|
||||
|
||||
def test_search_with_hyphen(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user