'Test that exception within indexing yields a SearchIndexingError'

@patch('django.conf.settings.SEARCH_ENGINE', 'search.tests.utils.ErroringIndexEngine')
def _test_exception(self, store):

    self.publish_item(store, self.vertical.location)
    with self.assertRaises(SearchIndexingError):
        self.reindex_course(store)
