'test not indexable items'

def _test_not_indexable(self, store):

    self.publish_item(store, self.vertical.location)
    self.reindex_course(store)
    response = self.search()
    self.assertEqual(response['total'], 4)
    ItemFactory.create(parent_location=self.vertical.location, category='openassessment', display_name='Some    other    content', publish_item=False, modulestore=store)
    self.reindex_course(store)
    response = self.search()
    self.assertEqual(response['total'], 4)
    self.publish_item(store, self.vertical.location)
    self.reindex_course(store)
    response = self.search()
    self.assertEqual(response['total'], 4)
