Merge "Fix url parsing for api version check"
diff --git a/tools/verify_tempest_config.py b/tools/verify_tempest_config.py
index 30785c4..db29da5 100755
--- a/tools/verify_tempest_config.py
+++ b/tools/verify_tempest_config.py
@@ -46,8 +46,8 @@
'keystone': os.identity_client,
}
client_dict[service].skip_path()
- endpoint_parts = urlparse.urlparse(client_dict[service])
- endpoint = endpoint_parts.scheme + '//' + endpoint_parts.netloc
+ endpoint_parts = urlparse.urlparse(client_dict[service].base_url)
+ endpoint = endpoint_parts.scheme + '://' + endpoint_parts.netloc
__, body = RAW_HTTP.request(endpoint, 'GET')
client_dict[service].reset_path()
body = json.loads(body)