kopia lustrzana https://github.com/wagtail/wagtail
Changed `test_plain_text_multiple_words_and()` to include three words
rodzic
663d7d0a12
commit
98ffaad699
|
@ -560,7 +560,7 @@ class BackendTests(WagtailTestUtils):
|
||||||
'JavaScript: The good parts'})
|
'JavaScript: The good parts'})
|
||||||
|
|
||||||
def test_plain_text_multiple_words_and(self):
|
def test_plain_text_multiple_words_and(self):
|
||||||
results = self.backend.search(PlainText('JavaScript Definitive',
|
results = self.backend.search(PlainText('JavaScript Definitive Guide',
|
||||||
operator='and'),
|
operator='and'),
|
||||||
models.Book.objects.all())
|
models.Book.objects.all())
|
||||||
self.assertSetEqual({r.title for r in results},
|
self.assertSetEqual({r.title for r in results},
|
||||||
|
|
Ładowanie…
Reference in New Issue