def _use_certificate_file_test(self, certificate_file):
    "\n        Verify that calling ``Context.use_certificate_file`` with the given\n        filename doesn't raise an exception.\n        "
    with open(certificate_file, 'wb') as pem_file:
        pem_file.write(cleartextCertificatePEM)
    ctx = Context(TLSv1_METHOD)
    ctx.use_certificate_file(certificate_file)
Verify that calling ``Context.use_certificate_file`` with the given
filename doesn't raise an exception.
def _use_certificate_file_test(self, certificate_file):
    "\n        Verify that calling ``Context.use_certificate_file`` with the given\n        filename doesn't raise an exception.\n        "
    with open(certificate_file, 'wb') as pem_file:
        pem_file.write(cleartextCertificatePEM)
    ctx = Context(TLSv1_METHOD)
    ctx.use_certificate_file(certificate_file)