We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab175eb commit e8818e9Copy full SHA for e8818e9
tests/test_index.py
@@ -60,11 +60,12 @@ def test_index_name_settings(self):
60
self.assertRegexpMatches(index.index_name, regex)
61
62
def test_reindex_with_replicas(self):
63
+ index = AlgoliaIndex(Website, self.client, settings.ALGOLIA)
64
class WebsiteIndex(AlgoliaIndex):
65
settings = {
66
'replicas': [
- 'django_contact_name_asc',
67
- 'django_contact_name_desc'
+ index.index_name + '_name_asc',
68
+ index.index_name + '_name_desc'
69
]
70
}
71
0 commit comments