Changeset 8664 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 9 Jun 2012, 15:43:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r8643 r8664 90 90 applicantscontainer.application_category = 'basic' 91 91 applicantscontainer.mode = 'create' 92 applicantscontainer.strict_deadline = True 92 93 delta = timedelta(days=10) 93 94 applicantscontainer.startdate = datetime.now(pytz.utc) - delta … … 792 793 self.assertTrue( 793 794 'Application period has expired' in self.browser.contents) 795 # We can either postpone the enddate ... 794 796 self.applicantscontainer.enddate = datetime.now( 795 797 pytz.utc) + timedelta(days=10) 798 self.browser.getControl(name="confirm_passport").value = True 799 self.browser.getControl("Final Submit").click() 800 self.assertTrue( 801 '... submitted ...' in self.browser.contents) 802 # ... or allow submission after deadline. 803 IWorkflowState(self.applicant).setState('paid') 804 self.applicant.locked = False 805 self.applicantscontainer.strict_deadline = False 806 self.browser.open(self.edit_path) 796 807 self.browser.getControl(name="confirm_passport").value = True 797 808 self.browser.getControl("Final Submit").click()
Note: See TracChangeset for help on using the changeset viewer.