From 2253d022667c8bb3ef61b535d0ce90e433882ebc Mon Sep 17 00:00:00 2001
From: Kevin_Zheng <zhengzhenyu@huawei.com>
Date: Fri, 27 May 2016 09:18:01 +0800
Subject: [PATCH] Fix funtional test gate failure caused by keystone client
 change.

After the merge of https://review.openstack.org/#/c/193894/
the path endpoint is used instead of ports. This causes
functional test failure.

This patch fixes this.

Change-Id: Ic052e518cbb8be531a048129ad47cd19ad460268
Closes-bug: #1586222
---
 novaclient/tests/functional/test_auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/novaclient/tests/functional/test_auth.py b/novaclient/tests/functional/test_auth.py
index 0ee995b7b..58e303bcb 100644
--- a/novaclient/tests/functional/test_auth.py
+++ b/novaclient/tests/functional/test_auth.py
@@ -20,7 +20,7 @@ class TestAuthentication(base.ClientTestBase):
     def nova(self, action, identity_api_version):
         url = parse.urlparse(self.cli_clients.uri)
         url = parse.urlunparse((url.scheme, url.netloc,
-                                '/v%s' % identity_api_version,
+                                '/identity/v%s' % identity_api_version,
                                 url.params, url.query,
                                 url.fragment))
         flags = ('--os-username %s --os-tenant-name %s --os-password %s '