'Tests generating a certificate for a specific student if that student
is not enrolled in the course.'

def test_specific_student_not_enrolled(self):

    student = self.create_student(username='jacques', email='antlers@ardenforest.co.uk')
    task_input = {'student_set': 'specific_student', 'specific_student_id': student.id}
    expected_results = {'action_name': 'certificates    generated', 'total': 1, 'attempted': 1, 'succeeded': 0, 'failed': 1, 'skipped': 0}
    self.assertCertificatesGenerated(task_input, expected_results)
