diff options
Diffstat (limited to 'tests/functional/resource_func.py')
-rw-r--r-- | tests/functional/resource_func.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/functional/resource_func.py b/tests/functional/resource_func.py index e3519d1..43aca96 100644 --- a/tests/functional/resource_func.py +++ b/tests/functional/resource_func.py @@ -4,7 +4,7 @@ from pykolab import wap_client conf = pykolab.getConf() -def resource_add(type, cn, members=None): +def resource_add(type, cn, members=None, owner=None): if type == None or type == '': raise Exception @@ -14,7 +14,8 @@ def resource_add(type, cn, members=None): resource_details = { 'cn': cn, 'kolabtargetfolder': "shared/Resources/" + cn + "@example.org", - 'uniquemember': members + 'uniquemember': members, + 'owner': owner } result = wap_client.authenticate(conf.get('ldap', 'bind_dn'), conf.get('ldap', 'bind_pw'), conf.get('kolab', 'primary_domain')) |