Skip to content

Commit

Permalink
Fix failing https test on certain python versions with invalid ca certs
Browse files Browse the repository at this point in the history
  • Loading branch information
autophagy committed Nov 5, 2020
1 parent 0ad90b0 commit 7e12a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crate/client/doctests/https.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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):
...
Expand Down

0 comments on commit 7e12a49

Please sign in to comment.