'Tests generating a certificate for a specific student.'

def test_certificate_generation_specific_student(self):

    student = self.create_student(username='Hamnet', email='ham@ardenforest.co.uk')
    CertificateWhitelistFactory.create(user=student, course_id=self.course.id, whitelist=True)
    task_input = {'student_set': 'specific_student', 'specific_student_id': student.id}
    expected_results = {'action_name': 'certificates    generated', 'total': 1, 'attempted': 1, 'succeeded': 1, 'failed': 0, 'skipped': 0}
    self.assertCertificatesGenerated(task_input, expected_results)
