'Create a support team member and a student with a certificate.
Log in as the support team member.'

def setUp(self):

    super(CertificateSupportTestCase, self).setUp()
    CourseFactory(org=CertificateSupportTestCase.EXISTED_COURSE_KEY_1.org, course=CertificateSupportTestCase.EXISTED_COURSE_KEY_1.course, run=CertificateSupportTestCase.EXISTED_COURSE_KEY_1.run)
    self.support = UserFactory(username=self.SUPPORT_USERNAME, email=self.SUPPORT_EMAIL, password=self.SUPPORT_PASSWORD)
    SupportStaffRole().add_users(self.support)
    self.student = UserFactory(username=self.STUDENT_USERNAME, email=self.STUDENT_EMAIL, password=self.STUDENT_PASSWORD)
    self.cert = GeneratedCertificate.eligible_certificates.create(user=self.student, course_id=self.CERT_COURSE_KEY, grade=self.CERT_GRADE, status=self.CERT_STATUS, mode=self.CERT_MODE, download_url=self.CERT_DOWNLOAD_URL)
    success = self.client.login(username=self.SUPPORT_USERNAME, password=self.SUPPORT_PASSWORD)
    self.assertTrue(success, msg="Couldn't    log    in    as    support    staff")
