Changeset 10030 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 17 Mar 2013, 08:40:59 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r9929 r10030 37 37 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 38 38 from waeup.kofa.app import University 39 from waeup.kofa.payments.interfaces import IPay mentWebservice39 from waeup.kofa.payments.interfaces import IPayer 40 40 from waeup.kofa.configuration import SessionConfiguration 41 41 from waeup.kofa.applicants.container import ApplicantsContainer … … 758 758 self.assertEqual(payment.p_category,'application') 759 759 self.assertEqual(payment.amount_auth,200.0) 760 # Applicant is paye eof the payment ticket.760 # Applicant is payer of the payment ticket. 761 761 self.assertEqual( 762 IPay mentWebservice(payment).display_fullname, 'John Anthony Tester')762 IPayer(payment).display_fullname, 'John Anthony Tester') 763 763 self.assertEqual( 764 IPay mentWebservice(payment).id, self.applicant.applicant_id)765 self.assertEqual(IPay mentWebservice(payment).faculty, '')766 self.assertEqual(IPay mentWebservice(payment).department, '')764 IPayer(payment).id, self.applicant.applicant_id) 765 self.assertEqual(IPayer(payment).faculty, '') 766 self.assertEqual(IPayer(payment).department, '') 767 767 # The pdf payment slip can't yet be opened 768 768 #self.browser.open(payment_url + '/payment_receipt.pdf') -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_payment.py
r9533 r10030 22 22 from zope.interface import verify 23 23 from waeup.kofa.applicants.payment import ( 24 ApplicantOnlinePayment, ApplicantOnlinePaymentFactory, Pay mentWebservice)25 from waeup.kofa.payments.interfaces import IOnlinePayment, IPay mentWebservice24 ApplicantOnlinePayment, ApplicantOnlinePaymentFactory, Payer) 25 from waeup.kofa.payments.interfaces import IOnlinePayment, IPayer 26 26 27 27 class ApplicantOnlinePaymentFactoryTest(unittest.TestCase): … … 39 39 assert implemented_by.isOrExtends(IOnlinePayment) 40 40 41 def test_ webservice_interface(self):42 verify.verifyClass(IPay mentWebservice, PaymentWebservice)41 def test_payer_interface(self): 42 verify.verifyClass(IPayer, Payer)
Note: See TracChangeset for help on using the changeset viewer.