mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 09:33:54 +01:00
Search boosting is expected to fail on basic database backend.
This commit is contained in:
parent
ac0d1f69c8
commit
96bb40f005
@ -30,3 +30,11 @@ class TestDBBackend(BackendTests, TestCase):
|
||||
for result in results:
|
||||
# DB backend doesn't do scoring, so annotate_score should just add None
|
||||
self.assertIsNone(result._score)
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_boost(self):
|
||||
super(TestDBBackend, self).test_boost()
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_order_by_relevance(self):
|
||||
super(TestDBBackend, self).test_order_by_relevance()
|
||||
|
Loading…
Reference in New Issue
Block a user