From 8569abfe63ba22583f33a2788554c79e034e29fd Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Wed, 1 Feb 2017 13:40:08 +0400 Subject: [rally] Get keystone auth endpoint as request_url JIRA: FUNCTEST-685 Change-Id: Id0d0bcf55451832d9aeb22c3e6b9c21aea4e0911 Signed-off-by: Michael Polenchuk --- functest/opnfv_tests/openstack/rally/rally.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'functest/opnfv_tests/openstack/rally') 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 -- cgit 1.2.3-korg