Changeset 7997 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 28 Mar 2012, 16:49:18 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r7996 r7997 505 505 """ 506 506 grok.context(IApplicantOnlinePayment) 507 grok.name(' callback')507 grok.name('simulate_callback') 508 508 grok.require('waeup.payApplicant') 509 509 510 510 # This update method simulates a valid callback und must be 511 # specified in the customization package. The parameters must be taken 512 # from the incoming request. 511 # neutralized in the customization package. 513 512 def update(self): 514 513 self.wf_info = IWorkflowInfo(self.context.__parent__) -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r7984 r7997 644 644 self.browser.contents) 645 645 # Callback can't be applied twice 646 self.browser.open(payment_url + '/ callback')646 self.browser.open(payment_url + '/simulate_callback') 647 647 self.assertMatches( 648 648 "...Transition 'pay' requires 'started' as source state...", -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py
r7819 r7997 182 182 icon = 'actionicon_call.png' 183 183 text = _('Request callback') 184 target = ' callback'184 target = 'simulate_callback' 185 185 186 # This button must be neutralized 187 # in the customization package. 186 188 @property 187 189 def target_url(self):
Note: See TracChangeset for help on using the changeset viewer.