'Variadic helper used to create course run enrollments.'

def _create_enrollments(self, *course_run_ids):

    for course_run_id in course_run_ids:
        CourseEnrollmentFactory(user=self.user, course_id=course_run_id, mode='verified')
