cri_auth.tests.test_ldap_auth module

class cri_auth.tests.test_ldap_auth.TestLDAPAuth(methodName='runTest')[source]

Bases: cri_models.ldap.test.LDAPTestCase

TEST_USER_LOGIN = 'test'
TEST_USER_PASSWORD = 'test'
TEST_USER_PRINCIPAL = <KerberosPrincipalStr: test/test@dummy>
fixtures = ('tests/groups.yaml',)
classmethod setUpTestData()[source]

Load initial data for the TestCase.

classmethod tearDownClass()[source]

Hook method for deconstructing the class fixture after running all tests in the class.

test_auth_with_db_only()[source]
test_auth_with_ldap_password()[source]
test_auth_with_ldap_sasl()[source]