keystone.tests.unit.backend.legacy_drivers.federation.V8 package

Submodules

keystone.tests.unit.backend.legacy_drivers.federation.V8.api_v3 module

class keystone.tests.unit.backend.legacy_drivers.federation.V8.api_v3.FederatedIdentityProviderTestsV8(*args, **kwargs)[source]

Bases: keystone.tests.unit.test_v3_federation.FederatedIdentityProviderTests, keystone.tests.unit.backend.legacy_drivers.federation.V8.api_v3.FederatedSetupMixinV8

Test that a V8 driver still passes the same tests.

config_overrides()[source]
test_check_idp_uniqueness()[source]

Add same IdP twice.

Expect HTTP 409 Conflict code for the latter call.

Note: V9 drivers and later augment the conflict message with additional information, which won’t be present if we are running a V8 driver - so override the newer tests to just ensure a conflict message is raised.

test_create_idp_remote_repeated()[source]

Creates two IdentityProvider entities with some remote_ids

A remote_id is the same for both so the second IdP is not created because of the uniqueness of the remote_ids

Expect HTTP 409 Conflict code for the latter call.

Note: V9 drivers and later augment the conflict message with additional information, which won’t be present if we are running a V8 driver - so override the newer tests to just ensure a conflict message is raised.

class keystone.tests.unit.backend.legacy_drivers.federation.V8.api_v3.FederatedSetupMixinV8[source]

Bases: object

useV8driver()[source]
class keystone.tests.unit.backend.legacy_drivers.federation.V8.api_v3.MappingCRUDTestsV8(*args, **kwargs)[source]

Bases: keystone.tests.unit.test_v3_federation.MappingCRUDTests, keystone.tests.unit.backend.legacy_drivers.federation.V8.api_v3.FederatedSetupMixinV8

Test that a V8 driver still passes the same tests.

config_overrides()[source]
class keystone.tests.unit.backend.legacy_drivers.federation.V8.api_v3.ServiceProviderTestsV8(*args, **kwargs)[source]

Bases: keystone.tests.unit.test_v3_federation.ServiceProviderTests, keystone.tests.unit.backend.legacy_drivers.federation.V8.api_v3.FederatedSetupMixinV8

Test that a V8 driver still passes the same tests.

config_overrides()[source]
test_filter_list_sp_by_enabled()[source]
test_filter_list_sp_by_id()[source]

Module contents