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
(cherry-picked from f19f131b57
)
This commit is contained in:
parent
934a674b97
commit
074f9bf3fe
|
@ -24,8 +24,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.identity_providers_client = (
|
||||
identity_providers_client.IdentityProvidersClient(
|
||||
|
|
|
@ -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.idps_client = cls.keystone_manager.identity_providers_client
|
||||
cls.mappings_client = cls.keystone_manager.mapping_rules_client
|
||||
cls.sps_client = cls.keystone_manager.service_providers_client
|
||||
|
|
Loading…
Reference in New Issue