aboutsummaryrefslogtreecommitdiff
path: root/test/configuration.py
diff options
context:
space:
mode:
authorMarco Huenseler <marcoh.huenseler+git@gmail.com>2017-12-03 20:24:43 +0100
committerMarco Huenseler <marcoh.huenseler+git@gmail.com>2017-12-03 20:24:43 +0100
commit3867236b2cb020756b5c8c19a8542cca658a2f49 (patch)
tree086bb046615734a1d888c76898e00d659a347e30 /test/configuration.py
parentadd simple integration test (diff)
downloadradicale_auth_ldap-3867236b2cb020756b5c8c19a8542cca658a2f49.tar.gz
radicale_auth_ldap-3867236b2cb020756b5c8c19a8542cca658a2f49.tar.bz2
radicale_auth_ldap-3867236b2cb020756b5c8c19a8542cca658a2f49.zip
update tests to unittest library
Diffstat (limited to 'test/configuration.py')
-rw-r--r--test/configuration.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/configuration.py b/test/configuration.py
new file mode 100644
index 0000000..31a40ba
--- /dev/null
+++ b/test/configuration.py
@@ -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'
bgstack15