diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-02-01 13:40:08 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-02-01 13:43:24 +0400 |
commit | 8569abfe63ba22583f33a2788554c79e034e29fd (patch) | |
tree | 020ed9a7c586c0ef7663798c4be41eb8b53da742 | |
parent | 56c3758fbb234d45c70cc5a36aafd8c5f4d02373 (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.py | 7 |
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 e7cac7af..a2a7e5c8 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 |