From f6466447b72a0bf219585df706b26758950db43d Mon Sep 17 00:00:00 2001 From: Mika Naylor Date: Thu, 5 Nov 2020 11:43:53 +0100 Subject: [PATCH] Fix failing https test on certain python versions with invalid ca certs --- src/crate/client/doctests/https.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crate/client/doctests/https.txt b/src/crate/client/doctests/https.txt index 60fb44e6..e8aa161c 100644 --- a/src/crate/client/doctests/https.txt +++ b/src/crate/client/doctests/https.txt @@ -76,7 +76,7 @@ certificate and key file. Below an example, in this case it fails because the supplied certificate is invalid:: - >>> client = HttpClient([crate_host], cert_file=invalid_ca_cert, key_file=invalid_ca_cert) + >>> client = HttpClient([crate_host], cert_file=invalid_ca_cert, key_file=invalid_ca_cert, verify_ssl_cert=True) >>> client.server_infos(crate_host) Traceback (most recent call last): ... pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy