aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-02-01 13:40:08 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-02-01 13:43:24 +0400
commit8569abfe63ba22583f33a2788554c79e034e29fd (patch)
tree020ed9a7c586c0ef7663798c4be41eb8b53da742
parent56c3758fbb234d45c70cc5a36aafd8c5f4d02373 (diff)
[rally] Get keystone auth endpoint as request_url
JIRA: FUNCTEST-685 Change-Id: Id0d0bcf55451832d9aeb22c3e6b9c21aea4e0911 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
-rw-r--r--functest/opnfv_tests/openstack/rally/rally.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/functest/opnfv_tests/openstack/rally/rally.py b/functest/opnfv_tests/openstack/rally/rally.py
index e7cac7afa..a2a7e5c8e 100644
--- a/functest/opnfv_tests/openstack/rally/rally.py
+++ b/functest/opnfv_tests/openstack/rally/rally.py
@@ -94,11 +94,8 @@ class RallyBase(testcase_base.TestcaseBase):
else:
task_args['netid'] = ''
- auth_url = CONST.OS_AUTH_URL
- if auth_url is not None:
- task_args['request_url'] = auth_url.rsplit(":", 1)[0]
- else:
- task_args['request_url'] = ''
+ # get keystone auth endpoint
+ task_args['request_url'] = CONST.OS_AUTH_URL or ''
return task_args