def mock_add_documents_to_index(docs, index):
    indexed_docs.extend(docs)
    self.assertIn(index, (search_services.SEARCH_INDEX_EXPLORATIONS, search_services.SEARCH_INDEX_COLLECTIONS))
def mock_add_documents_to_index(docs, index):
    indexed_docs.extend(docs)
    self.assertIn(index, (search_services.SEARCH_INDEX_EXPLORATIONS, search_services.SEARCH_INDEX_COLLECTIONS))