'Creates a course and associated enrollment.'

def _create_course_and_enrollment(self, course_location):

    course = CourseFactory.create(org=course_location.org, number=course_location.course, run=course_location.run)
    enrollment = CourseEnrollment.enroll(self.student, course.id)
    return (course, enrollment)
