diff options
Diffstat (limited to 'functest/opnfv_tests/openstack/vmtp/vmtp.py')
-rw-r--r-- | functest/opnfv_tests/openstack/vmtp/vmtp.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/functest/opnfv_tests/openstack/vmtp/vmtp.py b/functest/opnfv_tests/openstack/vmtp/vmtp.py index 6bad9aec2..3462ec063 100644 --- a/functest/opnfv_tests/openstack/vmtp/vmtp.py +++ b/functest/opnfv_tests/openstack/vmtp/vmtp.py @@ -29,7 +29,6 @@ import tempfile import time import yaml -import six from xtesting.core import testcase from functest.core import singlevm @@ -138,8 +137,7 @@ class Vmtp(singlevm.VmReady2): OS_PROJECT_ID=self.project.project.id, OS_PASSWORD=self.project.password) if not new_env["OS_AUTH_URL"].endswith(('v3', 'v3/')): - new_env["OS_AUTH_URL"] = six.moves.urllib.parse.urljoin( - new_env["OS_AUTH_URL"], 'v3') + new_env["OS_AUTH_URL"] = "{}/v3".format(new_env["OS_AUTH_URL"]) try: del new_env['OS_TENANT_NAME'] del new_env['OS_TENANT_ID'] |