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

Search boosting is expected to fail on basic database backend.

This commit is contained in:
Bertrand Bordage 2017-08-17 10:47:13 +02:00
parent ac0d1f69c8
commit 96bb40f005

View File

@ -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()