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
5916e84ff5
commit
3b0cd80734
@ -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 = (
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user