'Test that exception within indexing yields a SearchIndexingError'

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

    with self.assertRaises(SearchIndexingError):
        self.reindex_library(store)
