update tests to unittest library

This commit is contained in:
Marco Huenseler
2017-12-03 20:24:43 +01:00
parent 063f3a42d2
commit 3867236b2c
3 changed files with 42 additions and 17 deletions

16
test/configuration.py Normal file
View File

@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
TEST_CONFIGURATION = {
'auth': {
'ldap_url': 'ldap://',
'ldap_base': 'ou=xxx,dc=xxx,dc=xx',
'ldap_attribute': 'uid',
'ldap_filter': '(objectClass=person)',
'ldap_binddn': 'cn=xxx,dc=xxx,dc=xx',
'ldap_password': '',
'ldap_scope': 'LEVEL'
}
}
VALID_USER = 'xxx'
VALID_PASS = 'xxx'