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
This commit is contained in:
parent
b024931681
commit
f19f131b57
|
@ -26,8 +26,8 @@ from tempest import clients
|
||||||
|
|
||||||
class Manager(clients.Manager):
|
class Manager(clients.Manager):
|
||||||
|
|
||||||
def __init__(self, credentials, service=None):
|
def __init__(self, credentials):
|
||||||
super(Manager, self).__init__(credentials, service)
|
super(Manager, self).__init__(credentials)
|
||||||
|
|
||||||
self.auth_client = auth_client.AuthClient(self.auth_provider)
|
self.auth_client = auth_client.AuthClient(self.auth_provider)
|
||||||
self.identity_providers_client = (
|
self.identity_providers_client = (
|
||||||
|
|
|
@ -32,7 +32,7 @@ class BaseIdentityTest(test.BaseTestCase):
|
||||||
super(BaseIdentityTest, cls).setup_clients()
|
super(BaseIdentityTest, cls).setup_clients()
|
||||||
credentials = common_creds.get_configured_admin_credentials(
|
credentials = common_creds.get_configured_admin_credentials(
|
||||||
cls.credential_type, identity_version=cls.identity_version)
|
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.auth_client = cls.keystone_manager.auth_client
|
||||||
cls.idps_client = cls.keystone_manager.identity_providers_client
|
cls.idps_client = cls.keystone_manager.identity_providers_client
|
||||||
cls.mappings_client = cls.keystone_manager.mapping_rules_client
|
cls.mappings_client = cls.keystone_manager.mapping_rules_client
|
||||||
|
|
Loading…
Reference in New Issue