Changeset 9533 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 5 Nov 2012, 09:36:23 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_payment.py
r7820 r9533 20 20 """ 21 21 import unittest 22 from zope.interface import verify 22 23 from waeup.kofa.applicants.payment import ( 23 ApplicantOnlinePayment, ApplicantOnlinePaymentFactory )24 from waeup.kofa.payments.interfaces import IOnlinePayment 24 ApplicantOnlinePayment, ApplicantOnlinePaymentFactory, PaymentWebservice) 25 from waeup.kofa.payments.interfaces import IOnlinePayment, IPaymentWebservice 25 26 26 27 class ApplicantOnlinePaymentFactoryTest(unittest.TestCase): … … 37 38 implemented_by = self.factory.getInterfaces() 38 39 assert implemented_by.isOrExtends(IOnlinePayment) 40 41 def test_webservice_interface(self): 42 verify.verifyClass(IPaymentWebservice, PaymentWebservice) -
main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py
r9512 r9533 45 45 46 46 """ 47 p_id = Attribute('Payment identifier .')47 p_id = Attribute('Payment identifier') 48 48 49 49 p_category = schema.Choice( … … 132 132 133 133 """ 134 display_fullname = Attribute('Name of payee') 135 id = Attribute('Id of payee') 136 reg_or_matric_number = Attribute('Matric number or reg number of payee') 137 faculty = Attribute('Faculty of payee') 138 department = Attribute('Department of payee') -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_payment.py
r7811 r9533 20 20 """ 21 21 22 from zope.interface import verify 22 23 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 23 24 from waeup.kofa.students.payments import ( 24 StudentOnlinePayment, StudentOnlinePaymentFactory )25 from waeup.kofa.payments.interfaces import IOnlinePayment 25 StudentOnlinePayment, StudentOnlinePaymentFactory, PaymentWebservice) 26 from waeup.kofa.payments.interfaces import IOnlinePayment, IPaymentWebservice 26 27 from waeup.kofa.students.interfaces import IStudentNavigation 27 28 … … 47 48 assert implemented_by.isOrExtends(IOnlinePayment) 48 49 assert implemented_by.isOrExtends(IStudentNavigation) 50 51 def test_webservice_interface(self): 52 verify.verifyClass(IPaymentWebservice, PaymentWebservice)
Note: See TracChangeset for help on using the changeset viewer.