mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 09:33:54 +01:00
Recategorise an expectedFailure test
This test won't work even if the index API was implemented for the DB backend
This commit is contained in:
parent
06833b3e09
commit
9d745541c8
@ -18,6 +18,11 @@ class TestDBBackend(BackendTests, TestCase):
|
|||||||
def test_search_boosting_on_related_fields(self):
|
def test_search_boosting_on_related_fields(self):
|
||||||
super().test_search_boosting_on_related_fields()
|
super().test_search_boosting_on_related_fields()
|
||||||
|
|
||||||
|
# Doesn't support ranking
|
||||||
|
@unittest.expectedFailure
|
||||||
|
def test_same_rank_pages(self):
|
||||||
|
super(TestDBBackend, self).test_same_rank_pages()
|
||||||
|
|
||||||
# Doesn't support searching specific fields
|
# Doesn't support searching specific fields
|
||||||
@unittest.expectedFailure
|
@unittest.expectedFailure
|
||||||
def test_search_child_class_field_from_parent(self):
|
def test_search_child_class_field_from_parent(self):
|
||||||
@ -32,8 +37,3 @@ class TestDBBackend(BackendTests, TestCase):
|
|||||||
@unittest.expectedFailure
|
@unittest.expectedFailure
|
||||||
def test_search_callable_field(self):
|
def test_search_callable_field(self):
|
||||||
super().test_search_callable_field()
|
super().test_search_callable_field()
|
||||||
|
|
||||||
# Doesn't support the index API used in this test
|
|
||||||
@unittest.expectedFailure
|
|
||||||
def test_same_rank_pages(self):
|
|
||||||
super().test_same_rank_pages()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user