summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doctor_tests/identity_auth.py3
-rw-r--r--tox.ini1
2 files changed, 3 insertions, 1 deletions
diff --git a/doctor_tests/identity_auth.py b/doctor_tests/identity_auth.py
index 0d429597..62b45ede 100644
--- a/doctor_tests/identity_auth.py
+++ b/doctor_tests/identity_auth.py
@@ -40,4 +40,5 @@ def get_session(auth=None):
"""Get a user credentials auth session."""
if auth is None:
auth = get_identity_auth()
- return session.Session(auth=auth)
+ return session.Session(auth=auth,
+ verify=os.environ.get('OS_CACERT'))
diff --git a/tox.ini b/tox.ini
index 2eaadacd..53efbfe3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,6 +21,7 @@ passenv =
OS_PROJECT_DOMAIN_NAME
OS_PROJECT_DOMAIN_ID
OS_REGION_NAME
+ OS_CACERT
IMAGE_NAME
VM_COUNT
PROFILER_TYPE