def setup_clients(cls):
     super(IdentityV3RbacServiceProviderTests, cls).setup_clients()
     cls.persona = getattr(cls, 'os_%s' % cls.credentials[0])
     persona_mgr = clients.Manager(cls.persona.credentials)
     cls.client = persona_mgr.service_providers_client
     admin_client = cls.os_system_admin
     admin_mgr = clients.Manager(admin_client.credentials)
     cls.admin_sp_client = admin_mgr.service_providers_client
 def setup_clients(cls):
     super(IdentityV3RbacRegisteredLimitTests, cls).setup_clients()
     cls.persona = getattr(cls, 'os_%s' % cls.credentials[0])
     persona_mgr = clients.Manager(cls.persona.credentials)
     cls.client = persona_mgr.registered_limits_client
     cls.admin_client = cls.os_system_admin
     admin_mgr = clients.Manager(cls.admin_client.credentials)
     cls.admin_reglim_client = admin_mgr.registered_limits_client
 def setup_clients(cls):
     super(IdentityV3RbacIdentityProviderTests, cls).setup_clients()
     cls.persona = getattr(cls, 'os_%s' % cls.credentials[0])
     cls.keystone_manager = clients.Manager(cls.persona.credentials)
     persona_mgr = clients.Manager(cls.persona.credentials)
     cls.client = persona_mgr.identity_providers_client
     cls.admin_client = cls.os_system_admin
     admin_mgr = clients.Manager(cls.admin_client.credentials)
     cls.admin_idp_client = admin_mgr.identity_providers_client
示例#4
0
 def setup_clients(cls):
     super(IdentityV3RbacMappingTests, cls).setup_clients()
     cls.persona = getattr(cls, 'os_%s' % cls.credentials[0])
     cls.keystone_manager = clients.Manager(cls.persona.credentials)
     persona_mgr = clients.Manager(cls.persona.credentials)
     cls.client = persona_mgr.mapping_rules_client
     admin_client = cls.os_system_admin
     admin_mgr = clients.Manager(admin_client.credentials)
     cls.admin_mapping_client = admin_mgr.mapping_rules_client
示例#5
0
 def setup_clients(cls):
     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.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
示例#6
0
 def setup_clients(cls):
     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)
     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
     cls.roles_client = cls.keystone_manager.roles_v3_client
     cls.saml2_client = cls.keystone_manager.saml2_client
     cls.sps_client = cls.keystone_manager.service_providers_client
     cls.tokens_client = cls.keystone_manager.token_v3_client
     cls.consumers_client = cls.keystone_manager.oauth_consumers_client
     cls.oauth_token_client = cls.keystone_manager.oauth_token_client
     cls.registered_limits_client = (
         cls.keystone_manager.registered_limits_client)
     cls.limits_client = cls.keystone_manager.limits_client