'Verifies certificate_downloadable_status returns the
correct response for PDF certificates.'

def verify_downloadable_pdf_cert(self):

    cert = GeneratedCertificateFactory.create(user=self.student, course_id=self.course.id, status=CertificateStatuses.downloadable, mode='verified', download_url='www.google.com')
    self.assertEqual(certs_api.certificate_downloadable_status(self.student, self.course.id), {'is_downloadable': True, 'is_generating': False, 'is_unverified': False, 'download_url': 'www.google.com', 'uuid': cert.verify_uuid})
