summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/tests/openstack_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'snaps/openstack/tests/openstack_tests.py')
-rw-r--r--snaps/openstack/tests/openstack_tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/snaps/openstack/tests/openstack_tests.py b/snaps/openstack/tests/openstack_tests.py
index 9cf2028..855beb5 100644
--- a/snaps/openstack/tests/openstack_tests.py
+++ b/snaps/openstack/tests/openstack_tests.py
@@ -73,12 +73,11 @@ def get_credentials(os_env_file=None, proxy_settings_str=None,
proxy_settings = ProxySettings(host=tokens[0], port=tokens[1],
ssh_proxy_cmd=ssh_proxy_cmd)
+ https_cacert = None
if config.get('OS_CACERT'):
https_cacert = config.get('OS_CACERT')
elif config.get('OS_INSECURE'):
https_cacert = False
- else:
- https_cacert = True
interface = 'admin'
if config.get('OS_INTERFACE'):