aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-02-01 13:19:25 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-01 13:19:25 +0000
commit3b1d262d0d035626d7a1345d538636f6945c90f4 (patch)
treeafa7951142b28ab4c3fca6b6877178f10ca63488
parent22fce0b76e77edf809a84aad36ac1b2c972ce948 (diff)
parent8569abfe63ba22583f33a2788554c79e034e29fd (diff)
Merge "[rally] Get keystone auth endpoint as request_url"
-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