'Create a course and enroll the student in the course.'

def setUp(self):

    super(CertificateRegenerateTests, self).setUp()
    self.course = CourseFactory(org=self.CERT_COURSE_KEY.org, course=self.CERT_COURSE_KEY.course, run=self.CERT_COURSE_KEY.run)
    CourseEnrollment.enroll(self.student, self.CERT_COURSE_KEY, self.CERT_MODE)
