'indexing course tests'

def _test_indexing_library(self, store):

    self.reindex_library(store)
    response = self.search()
    self.assertEqual(response['total'], 2)
    added_to_index = self.reindex_library(store)
    self.assertEqual(added_to_index, 2)
    response = self.search()
    self.assertEqual(response['total'], 2)
