Changeset 13073 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 18 Jun 2015, 08:13:49 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_batching.py
r12394 r13073 412 412 # Logging message from handle_applicant_transition_event 413 413 self.assertTrue( 414 'dp2011_1234 - Applica ntrecord removed' in415 logcontent) 416 shutil.rmtree(os.path.dirname(fin_file)) 414 'dp2011_1234 - Application record removed' in 415 logcontent) 416 shutil.rmtree(os.path.dirname(fin_file)) -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r12893 r13073 158 158 159 159 def login(self): 160 # Perform an applicant login. This creates an applica ntrecord.160 # Perform an applicant login. This creates an application record. 161 161 # 162 162 # This helper also sets `self.applicant`, which is the … … 204 204 self.assertRaises( 205 205 LinkNotFoundError, 206 self.browser.getLink, 'Manage applica tionsection')206 self.browser.getLink, 'Manage applicant 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 applica tionsection' in self.browser.contents)218 self.assertTrue('Manage applicant section' in self.browser.contents) 219 219 # There is a manage link 220 link = self.browser.getLink('Manage applica tionsection')220 link = self.browser.getLink('Manage applicant 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 applica tionsection' in self.browser.contents)254 self.assertTrue('Manage applicant 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 applica tionsection' in self.browser.contents)564 self.assertFalse('Manage applicant 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.