'Helper method to set up the prerequisite course'

def _add_prerequisite_course(self):

    self.prereq_course = CourseFactory.create()
    add_prerequisite_course(self.course.id, self.prereq_course.id)
