'Test that informational properties in the course modes store end up in the course_info index'

def _test_course_about_mode_index(self, store):

    honour_mode = CourseMode(course_id=unicode(self.course.id), mode_slug=CourseMode.HONOR, mode_display_name=CourseMode.HONOR)
    honour_mode.save()
    verified_mode = CourseMode(course_id=unicode(self.course.id), mode_slug=CourseMode.VERIFIED, mode_display_name=CourseMode.VERIFIED, min_price=1)
    verified_mode.save()
    self.reindex_course(store)
    response = self.searcher.search(doc_type=CourseAboutSearchIndexer.DISCOVERY_DOCUMENT_TYPE, field_dictionary={'course': unicode(self.course.id)})
    self.assertEqual(response['total'], 1)
    self.assertIn(CourseMode.HONOR, response['results'][0]['data']['modes'])
    self.assertIn(CourseMode.VERIFIED, response['results'][0]['data']['modes'])
