Changeset 6591 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 10 Aug 2011, 22:19:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r6590 r6591 242 242 self.add_applicant_path = self.container_path + '/addapplicant' 243 243 self.container_manage_path = self.container_path + '/@@manage' 244 self.browser.open(self.add_applicant_path) 244 self.browser.open(self.container_manage_path) 245 self.browser.getControl("Add applicant").click() 245 246 self.assertEqual(self.browser.headers['Status'], '200 Ok') 246 247 self.assertEqual(self.browser.url, self.add_applicant_path) … … 278 279 self.browser.getControl(name="form.lga").value = ['foreigner'] 279 280 self.browser.getControl(name="form.sex").value = ['m'] 281 self.browser.getControl(name="transition").value = ['start'] 280 282 self.browser.getControl("Save").click() 281 283 self.assertMatches('...Form has been saved...', self.browser.contents) 284 self.assertMatches('...Application started by zope.mgr...', self.browser.contents) 282 285 self.browser.open(self.applicant_view_path) 283 286 self.assertEqual(self.browser.headers['Status'], '200 Ok')
Note: See TracChangeset for help on using the changeset viewer.