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

{} => set()

This commit is contained in:
Karl Hobley 2017-10-19 16:06:17 +01:00
parent 085f1e1678
commit 73ffbc0d17

View File

@ -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):
"""