'Test if enrollment mode is verified or credit along with valid
software-secure verification than verified certificate should be generated.'

@ddt.data('credit', 'verified')
def test_add_cert_with_verified_certificates(self, mode):

    template_name = 'certificate-template-{id.org}-{id.course}-verified.pdf'.format(id=self.course.id)
    mock_send = self.add_cert_to_queue(mode)
    self.assert_certificate_generated(mock_send, 'verified', template_name)
