Commit 228e01d7 authored by Vincent Pelletier's avatar Vincent Pelletier

caucase.client: Make coverage a bit happier.

parent 2f97ed32
......@@ -150,7 +150,9 @@ class CaucaseClient(object):
else None
),
)
if not http_ca_crt_pem_list:
if http_ca_crt_pem_list: # pragma: no cover
pass
else:
ssl_context.check_hostname = False
ssl_context.verify_mode = ssl.CERT_NONE
if user_key:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment