summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-05-29 16:26:11 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-05-29 16:26:11 +0200
commita0a88ff30ee40502665f0b59121ce72f82ead7e1 (patch)
treebc2ecda23cbd9e2c542218113a89dde56d8494c1
parent24f120a419d9bb096cbad5a3ccf428fa101031e1 (diff)
downloadpykolab-a0a88ff30ee40502665f0b59121ce72f82ead7e1.tar.gz
There is no purpose in generating the values as they are generated upon submission anyway
-rw-r--r--tests/functional/user_add.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/functional/user_add.py b/tests/functional/user_add.py
index 2fc44cf..6af0419 100644
--- a/tests/functional/user_add.py
+++ b/tests/functional/user_add.py
@@ -59,12 +59,5 @@ def user_add(givenname, sn, preferredlanguage='en_US'):
fvg_params['type_id'] = user_type_id
fvg_params['attributes'] = [attr for attr in user_type_info['auto_form_fields'].keys() if not attr in params.keys()]
- exec("retval = wap_client.form_value_generate(%r)" % (params))
-
- for attribute in user_type_info['auto_form_fields'].keys():
- params[attribute] = retval[attribute]
-
- params['userpassword'] = user_details['userpassword']
-
result = wap_client.user_add(params)