Changeset 13219 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 24 Aug 2015, 10:53:22 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r13218 r13219 501 501 'admitted': 0, 'submitted': 0, 'initialized': 1, 'paid': 0}) 502 502 # Container can be purged 503 IWorkflowState(self.applicant).setState('submitted') 503 504 self.browser.open(self.container_manage_path) 504 505 self.browser.getLink("Purge").click() 505 506 self.browser.getControl("Remove").click() 506 self.assertTrue('11 application records purged' in self.browser.contents) 507 self.assertTrue('10 application records purged' in self.browser.contents) 508 self.assertEqual(self.applicantscontainer.counts[0], 1) 509 self.assertEqual(self.applicantscontainer.counts[1], 1) 510 IWorkflowState(self.applicant).setState('initialized') 511 self.browser.open(self.container_manage_path) 512 self.browser.getLink("Purge").click() 513 self.browser.getControl("Remove").click() 514 self.assertTrue('1 application records purged' in self.browser.contents) 507 515 self.assertEqual(self.applicantscontainer.counts[0], 0) 508 516 self.assertEqual(self.applicantscontainer.counts[1], 0)
Note: See TracChangeset for help on using the changeset viewer.