keystone.tests.unit.backend package

Submodules

keystone.tests.unit.backend.core_ldap module

class keystone.tests.unit.backend.core_ldap.BaseBackendLdap[source]

Bases: object

Mixin class to set up an all-LDAP configuration.

load_fixtures(fixtures)[source]
setUp()[source]
class keystone.tests.unit.backend.core_ldap.BaseBackendLdapCommon[source]

Bases: object

Mixin class to set up generic LDAP backends.

clear_database()[source]
config_files()[source]
config_overrides()[source]
get_config(domain_id)[source]
get_user_enabled_vals(user)[source]
setUp()[source]
class keystone.tests.unit.backend.core_ldap.BaseBackendLdapIdentitySqlEverythingElse[source]

Bases: keystone.tests.unit.core.SQLDriverOverrides

Mixin base for Identity LDAP, everything else SQL backend tests.

config_files()[source]
config_overrides()[source]
setUp()[source]
class keystone.tests.unit.backend.core_ldap.BaseBackendLdapIdentitySqlEverythingElseWithMapping[source]

Bases: object

Mixin base class to test mapping of default LDAP backend.

The default configuration is not to enable mapping when using a single backend LDAP driver. However, a cloud provider might want to enable the mapping, hence hiding the LDAP IDs from any clients of keystone. Setting backward_compatible_ids to False will enable this mapping.

config_overrides()[source]
keystone.tests.unit.backend.core_ldap.create_group_container(identity_api)[source]

keystone.tests.unit.backend.core_sql module

class keystone.tests.unit.backend.core_sql.BaseBackendSqlModels(*args, **kwargs)[source]

Bases: keystone.tests.unit.backend.core_sql.BaseBackendSqlTests

assertExpectedSchema(table, cols)[source]
select_table(name)[source]
class keystone.tests.unit.backend.core_sql.BaseBackendSqlTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.core.SQLDriverOverrides, keystone.tests.unit.core.TestCase

config_files()[source]
setUp()[source]

Module contents