keystone.tests.unit.identity.backends package¶
Submodules¶
keystone.tests.unit.identity.backends.test_base module¶
-
class
keystone.tests.unit.identity.backends.test_base.
IdentityDriverTests
[source]¶ Bases:
object
-
allows_name_update
= True¶
-
allows_self_service_change_password
= True¶
-
create_group
(domain_id=None)[source]¶ Get a group for the test.
Similar to
create_user()
, subclasses can override this to provide their own way to provide a group for the test.
-
create_user
(domain_id=None, **kwargs)[source]¶ Get a user for the test.
Subclasses can override this to provide their own way to provide a user for the test. By default, driver.create_user is used. For drivers that don’t support create_user, this may go directly to the backend, or maybe it gets a user from a set of pre-created users.
-
driver
= None¶
-
expected_default_assignment_driver
= 'sql'¶
-
expected_generates_uuids
= True¶
-
expected_is_domain_aware
= True¶
-
expected_is_sql
= False¶
-
keystone.tests.unit.identity.backends.test_ldap module¶
-
class
keystone.tests.unit.identity.backends.test_ldap.
TestIdentityDriver
(*args, **kwargs)[source]¶ Bases:
keystone.tests.unit.core.BaseTestCase
,keystone.tests.unit.identity.backends.test_base.IdentityDriverTests
-
allows_name_update
= False¶
-
allows_self_service_change_password
= False¶
-
expected_default_assignment_driver
= 'sql'¶
-
expected_generates_uuids
= False¶
-
expected_is_domain_aware
= False¶
-
expected_is_sql
= False¶
-
keystone.tests.unit.identity.backends.test_ldap_common module¶
-
class
keystone.tests.unit.identity.backends.test_ldap_common.
CommonLdapTestCase
(*args, **kwargs)[source]¶ Bases:
keystone.tests.unit.core.BaseTestCase
These test cases call functions in keystone.common.ldap.
-
class
keystone.tests.unit.identity.backends.test_ldap_common.
DnCompareTest
(*args, **kwargs)[source]¶ Bases:
keystone.tests.unit.core.BaseTestCase
Test for the DN comparison functions in keystone.common.ldap.core.
-
class
keystone.tests.unit.identity.backends.test_ldap_common.
LDAPConnectionTimeoutTest
(*args, **kwargs)[source]¶ Bases:
keystone.tests.unit.core.TestCase
Test for Network Connection timeout on LDAP URL connection.
-
class
keystone.tests.unit.identity.backends.test_ldap_common.
LDAPDeleteTreeTest
(*args, **kwargs)[source]¶
-
class
keystone.tests.unit.identity.backends.test_ldap_common.
LDAPFilterQueryCompositionTest
(*args, **kwargs)[source]¶ Bases:
keystone.tests.unit.core.BaseTestCase
These test cases test LDAP filter generation.
-
class
keystone.tests.unit.identity.backends.test_ldap_common.
LDAPPagedResultsTest
(*args, **kwargs)[source]¶ Bases:
keystone.tests.unit.core.TestCase
Test the paged results functionality in keystone.common.ldap.core.
-
class
keystone.tests.unit.identity.backends.test_ldap_common.
MultiURLTests
(*args, **kwargs)[source]¶ Bases:
keystone.tests.unit.core.TestCase
Test for setting multiple LDAP URLs.
-
class
keystone.tests.unit.identity.backends.test_ldap_common.
SslTlsTest
(*args, **kwargs)[source]¶ Bases:
keystone.tests.unit.core.BaseTestCase
Test for the SSL/TLS functionality in keystone.common.ldap.core.
keystone.tests.unit.identity.backends.test_sql module¶
-
class
keystone.tests.unit.identity.backends.test_sql.
MySQLOpportunisticIdentityDriverTestCase
(*args, **kwargs)[source]¶ Bases:
keystone.tests.unit.identity.backends.test_sql.TestIdentityDriver
-
FIXTURE
¶ alias of
MySQLOpportunisticFixture
-
-
class
keystone.tests.unit.identity.backends.test_sql.
PostgreSQLOpportunisticIdentityDriverTestCase
(*args, **kwargs)[source]¶ Bases:
keystone.tests.unit.identity.backends.test_sql.TestIdentityDriver
-
FIXTURE
¶ alias of
PostgreSQLOpportunisticFixture
-
-
class
keystone.tests.unit.identity.backends.test_sql.
TestIdentityDriver
(*args, **kwargs)[source]¶ Bases:
oslo_db.sqlalchemy.test_base.DbTestCase
,keystone.tests.unit.identity.backends.test_base.IdentityDriverTests
-
expected_default_assignment_driver
= 'sql'¶
-
expected_generates_uuids
= True¶
-
expected_is_domain_aware
= True¶
-
expected_is_sql
= True¶
-