Changeset 8778 for main/waeup.kofa/trunk/src
- Timestamp:
- 23 Jun 2012, 05:26:09 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
r8773 r8778 498 498 """Representation of an applicant for first-time registration. 499 499 500 This interface is used when ap llicants use the registration page to500 This interface is used when applicants use the registration page to 501 501 update their records. 502 502 """ -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r8708 r8778 999 999 return 1000 1000 1001 def test_register_applicant_wo_phone(self):1002 # We don't require the phone number when registering1003 self.browser.open(self.container_path)1004 self.browser.getLink("Register for application").click()1005 # Fill the edit form with suitable values1006 self.browser.getControl(name="form.firstname").value = 'John'1007 self.browser.getControl(name="form.lastname").value = 'Tester'1008 self.browser.getControl(name="form.email").value = 'xx@yy.zz'1009 self.browser.getControl("Get login credentials").click()1010 self.assertEqual(self.browser.url,1011 self.container_path + '/registration_complete?email=xx%40yy.zz')1012 return1013 1014 1001 def test_change_password_request(self): 1015 self.browser.open('http://localhost/app/ sendpw')1002 self.browser.open('http://localhost/app/changepw') 1016 1003 self.browser.getControl(name="form.identifier").value = '1234' 1017 1004 self.browser.getControl(name="form.email").value = 'aa@aa.ng' … … 1021 1008 # Update the catalog 1022 1009 notify(grok.ObjectModifiedEvent(self.applicant)) 1023 self.browser.open('http://localhost/app/ sendpw')1010 self.browser.open('http://localhost/app/changepw') 1024 1011 self.browser.getControl(name="form.identifier").value = '1234' 1025 1012 self.browser.getControl(name="form.email").value = 'aa@aa.ng'
Note: See TracChangeset for help on using the changeset viewer.