'Returns the course module.'

def _get_course_module(self):

    field_data_cache = FieldDataCache([self.course], self.course.id, self.user)
    return get_module_for_descriptor(self.user, MagicMock(), self.course, field_data_cache, self.course.id, course=self.course)
