From f19f131b57830db771809a9ade4eabbeb600b3fb Mon Sep 17 00:00:00 2001 From: Rodrigo Duarte Date: Thu, 5 Jan 2017 13:06:29 -0300 Subject: [PATCH] Fix the usage of tempest.client.Manager class This should fix our gate. We should continue the work to remove the dependencies from any module that isn't at tempest.lib. Change-Id: I2158d1971a4187171a89169c3f324453f0ec13be --- keystone_tempest_plugin/clients.py | 4 ++-- keystone_tempest_plugin/tests/base.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keystone_tempest_plugin/clients.py b/keystone_tempest_plugin/clients.py index 9865b919df..97b5b1456b 100644 --- a/keystone_tempest_plugin/clients.py +++ b/keystone_tempest_plugin/clients.py @@ -26,8 +26,8 @@ from tempest import clients class Manager(clients.Manager): - def __init__(self, credentials, service=None): - super(Manager, self).__init__(credentials, service) + def __init__(self, credentials): + super(Manager, self).__init__(credentials) self.auth_client = auth_client.AuthClient(self.auth_provider) self.identity_providers_client = ( diff --git a/keystone_tempest_plugin/tests/base.py b/keystone_tempest_plugin/tests/base.py index 83f5c121a7..6ba6659150 100644 --- a/keystone_tempest_plugin/tests/base.py +++ b/keystone_tempest_plugin/tests/base.py @@ -32,7 +32,7 @@ class BaseIdentityTest(test.BaseTestCase): super(BaseIdentityTest, cls).setup_clients() credentials = common_creds.get_configured_admin_credentials( cls.credential_type, identity_version=cls.identity_version) - cls.keystone_manager = clients.Manager(credentials=credentials) + cls.keystone_manager = clients.Manager(credentials) cls.auth_client = cls.keystone_manager.auth_client cls.idps_client = cls.keystone_manager.identity_providers_client cls.mappings_client = cls.keystone_manager.mapping_rules_client