diff options
Diffstat (limited to 'tests/functional/user_add.py')
-rw-r--r-- | tests/functional/user_add.py | 4 |
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') |