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

def setUp(self):

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