Skip to content

Commit 7e12a49

Browse files
committed
Fix failing https test on certain python versions with invalid ca certs
1 parent 0ad90b0 commit 7e12a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crate/client/doctests/https.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ certificate and key file.
7676
Below an example, in this case it fails because the supplied certificate is
7777
invalid::
7878

79-
>>> client = HttpClient([crate_host], cert_file=invalid_ca_cert, key_file=invalid_ca_cert)
79+
>>> client = HttpClient([crate_host], cert_file=invalid_ca_cert, key_file=invalid_ca_cert, verify_ssl_cert=True)
8080
>>> client.server_infos(crate_host)
8181
Traceback (most recent call last):
8282
...

0 commit comments

Comments
 (0)