Changeset 13076 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 19 Jun 2015, 05:49:57 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r13073 r13076 204 204 self.assertRaises( 205 205 LinkNotFoundError, 206 self.browser.getLink, 'Manage applicant section')206 self.browser.getLink, 'Manage applicants section') 207 207 self.assertRaises( 208 208 Unauthorized, self.browser.open, self.manage_root_path) … … 216 216 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 217 217 self.browser.open(self.root_path) 218 self.assertTrue('Manage applicant section' in self.browser.contents)218 self.assertTrue('Manage applicants section' in self.browser.contents) 219 219 # There is a manage link 220 link = self.browser.getLink('Manage applicant section')220 link = self.browser.getLink('Manage applicants section') 221 221 link.click() 222 222 self.assertEqual(self.browser.headers['Status'], '200 Ok') … … 252 252 self.browser.getControl("Save").click() 253 253 self.browser.open(self.root_path) 254 self.assertTrue('Manage applicant section' in self.browser.contents)254 self.assertTrue('Manage applicants section' in self.browser.contents) 255 255 # There is a search link 256 256 link = self.browser.getLink('Find applicants') … … 562 562 self.assertEqual(self.browser.headers['Status'], '200 Ok') 563 563 self.assertFalse('Search' in self.browser.contents) 564 self.assertFalse('Manage applicant section' in self.browser.contents)564 self.assertFalse('Manage applicants section' in self.browser.contents) 565 565 # ... and can't access the manage page 566 566 self.assertRaises(
Note: See TracChangeset for help on using the changeset viewer.