Changeset 7026 for main/waeup.sirp
- Timestamp:
- 8 Nov 2011, 06:30:04 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r7025 r7026 997 997 # from the incoming request. 998 998 def update(self): 999 if self.context.p_state == 'paid': 1000 self.flash('This ticket has already been paid.') 1001 return 999 1002 student = self.context.getStudent() 1000 1003 write_log_message(self,'valid callback: %s' % self.context.p_id) -
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r7025 r7026 715 715 self.browser.contents) 716 716 717 # Callback can't be applied twice 718 self.browser.open(payment_url + '/callback') 719 self.assertMatches('...This ticket has already been paid...', 720 self.browser.contents) 721 717 722 # Managers can open the pdf payment receipt 718 723 self.browser.open(payment_url + '/payment_receipt.pdf')
Note: See TracChangeset for help on using the changeset viewer.