Changeset 8703 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 13 Jun 2012, 06:32:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r8702 r8703 35 35 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 36 36 from waeup.kofa.app import University 37 from waeup.kofa.payments.interfaces import IPaymentWebservice 37 38 from waeup.kofa.configuration import SessionConfiguration 38 39 from waeup.kofa.applicants.container import ApplicantsContainer … … 730 731 self.assertEqual(payment.p_category,'application') 731 732 self.assertEqual(payment.amount_auth,200.0) 732 # Applicant is ownerof the payment ticket.733 self.assertEqual( payment.getOwner(), self.applicant)733 # Applicant is payee of the payment ticket. 734 self.assertEqual(IPaymentWebservice(payment).payee, 'John Tester') 734 735 # The pdf payment slip can't yet be opened 735 736 #self.browser.open(payment_url + '/payment_receipt.pdf')
Note: See TracChangeset for help on using the changeset viewer.