- Timestamp:
- 6 Apr 2012, 16:01:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests.py
r8020 r8053 127 127 self.browser.open(ugapplicant_path + '/manage') 128 128 self.assertEqual(self.browser.headers['Status'], '200 Ok') 129 # We can save the applicant 130 self.browser.getControl(name="form.reg_number").value = '1234' 131 self.browser.getControl(name="form.firstname").value = 'John' 132 self.browser.getControl(name="form.lastname").value = 'Tester' 133 self.browser.getControl(name="form.course1").value = ['CERT1'] 134 self.browser.getControl(name="form.date_of_birth").value = '09/09/1988' 135 self.browser.getControl(name="form.lga").value = ['foreigner'] 136 self.browser.getControl(name="form.sex").value = ['m'] 137 self.browser.getControl(name="form.email").value = 'xx@yy.zz' 138 self.browser.getControl("Save").click() 139 self.assertMatches('...Form has been saved...', self.browser.contents) 129 140 self.assertFalse('Employer' in self.browser.contents) 130 141 self.browser.open(ugapplicant_path + '/edit')
Note: See TracChangeset for help on using the changeset viewer.