Changeset 7233 for main/waeup.sirp/trunk/src/waeup/sirp/browser
- Timestamp:
- 28 Nov 2011, 21:04:57 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/browser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt
r7229 r7233 128 128 >>> browser.getControl(name="control_password").value = 'secret' 129 129 >>> browser.getControl(name="form.email").value = 'xx@yy.zz' 130 >>> browser.getControl(name="form.phone").value = '1234' 130 131 >>> browser.getControl("Add user").click() 131 132 >>> print browser.contents … … 162 163 >>> browser.getControl(name="control_password").value = 'secret' 163 164 >>> browser.getControl(name="form.email").value = 'xx@yy.zz' 165 >>> browser.getControl(name="form.phone").value = '1234' 164 166 >>> browser.getControl("Add user").click() 165 167 >>> 'The userid chosen already exists' in browser.contents -
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r7232 r7233 382 382 title = data['title'] 383 383 email = data['email'] 384 phone = data['phone'] 384 385 description = data['description'] 385 386 #password = data['password'] … … 396 397 try: 397 398 self.context.addUser(name, password, title=title, email=email, 398 description=description, roles=roles) 399 phone=phone, description=description, 400 roles=roles) 399 401 except KeyError: 400 402 self.status = self.flash('The userid chosen already exists '
Note: See TracChangeset for help on using the changeset viewer.