'Raises ValueError when student_set is \'specific_student\' and \'specific_student_id\' is None.'

def test_certificate_generation_no_specific_student_id(self):

    with self.assertRaises(SpecificStudentIdMissingError):
        generate_certificates_for_students(self.create_task_request(self.instructor), self.course.id, student_set='specific_student', specific_student_id=None)
