'Tests certificates regeneration task submission api'

def test_regenerate_certificates(self):

    def api_call():
        '\n                                                wrapper    method    for    regenerate_certificates\n                                                '
        return regenerate_certificates(self.create_task_request(self.instructor), self.course.id, [CertificateStatuses.downloadable, CertificateStatuses.generating])
    self._test_resubmission(api_call)
