summaryrefslogtreecommitdiffstats
path: root/tests/functional/user_add.py
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-07-06 22:14:32 -0400
committerThomas Bruederli <bruederli@kolabsys.com>2014-07-06 22:14:32 -0400
commitce4be6aec8a5112ead076f7a2c6a8ad7eeb403e6 (patch)
treecd72c086da6cc59160cf9fffe3a18f596e486e5c /tests/functional/user_add.py
parent223871e43e7ff6cd3c4dcd49e5c362a1fdf912df (diff)
downloadpykolab-ce4be6aec8a5112ead076f7a2c6a8ad7eeb403e6.tar.gz
Start implementing a new wallace module 'invitationpolicy' to automatically process iTip messages according to per-user policies
Diffstat (limited to 'tests/functional/user_add.py')
-rw-r--r--tests/functional/user_add.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/functional/user_add.py b/tests/functional/user_add.py
index 4939f93..b1b37f1 100644
--- a/tests/functional/user_add.py
+++ b/tests/functional/user_add.py
@@ -4,7 +4,7 @@ from pykolab import wap_client
conf = pykolab.getConf()
-def user_add(givenname, sn, preferredlanguage='en_US'):
+def user_add(givenname, sn, preferredlanguage='en_US', **kw):
if givenname == None:
raise Exception
@@ -25,6 +25,8 @@ def user_add(givenname, sn, preferredlanguage='en_US'):
'userpassword': 'Welcome2KolabSystems'
}
+ user_details.update(kw)
+
login = conf.get('ldap', 'bind_dn')
password = conf.get('ldap', 'bind_pw')
domain = conf.get('kolab', 'primary_domain')