Changeset 8702 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 13 Jun 2012, 05:44:31 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/payment.py
r8453 r8702 74 74 return self.doAfterApplicantPaymentApproval() 75 75 76 def getOwner(self): 77 """Return applicant. 78 """ 79 return self.__parent__ 80 76 81 ApplicantOnlinePayment = attrs_to_fields(ApplicantOnlinePayment) 77 82 -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r8684 r8702 730 730 self.assertEqual(payment.p_category,'application') 731 731 self.assertEqual(payment.amount_auth,200.0) 732 # Applicant is owner of the payment ticket. 733 self.assertEqual(payment.getOwner(), self.applicant) 732 734 # The pdf payment slip can't yet be opened 733 735 #self.browser.open(payment_url + '/payment_receipt.pdf')
Note: See TracChangeset for help on using the changeset viewer.