- Timestamp:
- 30 Aug 2017, 11:40:01 (7 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r14822 r14824 505 505 def target_url(self): 506 506 if not self.context.screening_date or not self.context.state in ( 507 'submitted', 'admitted', ' paid', 'created'):507 'submitted', 'admitted', 'created'): 508 508 return '' 509 509 return self.view.url(self.view.context, self.target) … … 564 564 def update(self): 565 565 if not self.context.screening_date or not self.context.state in ( 566 'submitted', 'admitted', ' paid', 'created'):566 'submitted', 'admitted', 'created'): 567 567 self.flash(_('Forbidden'), type="warning") 568 568 self.redirect(self.url(self.context)) -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py
r14822 r14824 88 88 self.browser.open(self.view_path) 89 89 self.assertFalse("Download application slip" in self.browser.contents) 90 IWorkflowState(self.applicant).setState(' paid')90 IWorkflowState(self.applicant).setState('submitted') 91 91 self.browser.open(self.view_path) 92 92 self.browser.getLink("screening invitation").click()
Note: See TracChangeset for help on using the changeset viewer.