From f9f87893073a872ff1649b00e54a15bf99d543c0 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Fri, 4 Aug 2017 10:48:29 +0100 Subject: [PATCH] Remove dependency to identity v2 A swift test relies on identity v2 client for no reason. Removing that dependency so that we have no issue running v3 only. Change-Id: Iff969ea556e9105d998a081ae80b00b2cb959f8c --- tempest/api/object_storage/test_object_services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tempest/api/object_storage/test_object_services.py b/tempest/api/object_storage/test_object_services.py index b29a77f035..556ca2f716 100644 --- a/tempest/api/object_storage/test_object_services.py +++ b/tempest/api/object_storage/test_object_services.py @@ -973,7 +973,7 @@ class PublicObjectTest(base.BaseObjectTest): @classmethod def setup_clients(cls): super(PublicObjectTest, cls).setup_clients() - cls.identity_client_alt = cls.os_alt.identity_client + cls.object_client_alt = cls.os_alt.object_client def setUp(self): super(PublicObjectTest, self).setUp() @@ -1047,7 +1047,7 @@ class PublicObjectTest(base.BaseObjectTest): self.assertEqual(resp['x-container-read'], '.r:*,.rlistings') # get auth token of alternative user - alt_auth_data = self.identity_client_alt.auth_provider.auth_data + alt_auth_data = self.object_client_alt.auth_provider.auth_data self.object_client.auth_provider.set_alt_auth_data( request_part='headers', auth_data=alt_auth_data