kopia lustrzana https://github.com/wagtail/wagtail
Remove expected failures that fail because the method they're overriding doesn't exist
rodzic
e1c8ab4ec0
commit
911be518b4
|
@ -1,4 +1,3 @@
|
|||
import unittest
|
||||
from datetime import date
|
||||
from io import StringIO
|
||||
|
||||
|
@ -207,14 +206,3 @@ class ElasticsearchCommonSearchBackendTests(BackendTests):
|
|||
in_jan = models.Book.objects.filter(publication_date__month=1)
|
||||
with self.assertRaises(FilterError):
|
||||
self.backend.search(MATCH_ALL, in_jan)
|
||||
|
||||
# Elasticsearch always does prefix matching on `partial_match` fields,
|
||||
# even when we don’t use `Prefix`.
|
||||
@unittest.expectedFailure
|
||||
def test_incomplete_term(self):
|
||||
super().test_incomplete_term()
|
||||
|
||||
# Elasticsearch does not accept prefix for multiple words
|
||||
@unittest.expectedFailure
|
||||
def test_prefix_multiple_words(self):
|
||||
super().test_prefix_multiple_words()
|
||||
|
|
|
@ -51,11 +51,6 @@ class TestDBBackend(BackendTests, TestCase):
|
|||
def test_search_callable_field(self):
|
||||
super().test_search_callable_field()
|
||||
|
||||
# Database backend always uses `icontains`, so always autocomplete
|
||||
@unittest.expectedFailure
|
||||
def test_incomplete_term(self):
|
||||
super().test_incomplete_term()
|
||||
|
||||
# Database backend always uses `icontains`, so always autocomplete
|
||||
@unittest.expectedFailure
|
||||
def test_incomplete_plain_text(self):
|
||||
|
|
Ładowanie…
Reference in New Issue