summaryrefslogtreecommitdiff
path: root/tempest_lib/services/identity/v3/token_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'tempest_lib/services/identity/v3/token_client.py')
-rw-r--r--tempest_lib/services/identity/v3/token_client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tempest_lib/services/identity/v3/token_client.py b/tempest_lib/services/identity/v3/token_client.py
index 5fb64d3..504b165 100644
--- a/tempest_lib/services/identity/v3/token_client.py
+++ b/tempest_lib/services/identity/v3/token_client.py
@@ -28,6 +28,9 @@ class V3TokenClient(rest_client.RestClient):
None, None, None, disable_ssl_certificate_validation=dscv,
ca_certs=ca_certs, trace_requests=trace_requests)
+ if auth_url is None:
+ raise exceptions.IdentityError("Couldn't determine auth_url")
+
if 'auth/tokens' not in auth_url:
auth_url = auth_url.rstrip('/') + '/auth/tokens'