'Create the test course and content, and enroll the user.'

def setup_course(self, **course_options):

    self.create_course(**course_options)
    with self.store.bulk_operations(self.course.id):
        self.chapter = ItemFactory.create(category='chapter', parent_location=self.course.location)
        self.section = ItemFactory.create(category='sequential', parent_location=self.chapter.location)
        self.vertical = ItemFactory.create(category='vertical', parent_location=self.section.location)
    CourseEnrollmentFactory(user=self.user, course_id=self.course.id, mode=CourseMode.HONOR)
