'Verify that calling ``Context.use_certificate_file`` with the given
filename doesn\'t raise an exception.'

def _use_certificate_file_test(self, certificate_file):

    with open(certificate_file, 'wb') as pem_file:
        pem_file.write(cleartextCertificatePEM)
    ctx = Context(TLSv1_METHOD)
    ctx.use_certificate_file(certificate_file)
