Changeset 10030 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 17 Mar 2013, 08:40:59 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r10016 r10030 38 38 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 39 39 from waeup.kofa.app import University 40 from waeup.kofa.payments.interfaces import IPay mentWebservice40 from waeup.kofa.payments.interfaces import IPayer 41 41 from waeup.kofa.students.interfaces import IStudentsUtils 42 42 from waeup.kofa.students.student import Student … … 2313 2313 self.assertEqual(self.student['payments'][value].p_level, 200) 2314 2314 2315 # Student is the paye eof the payment ticket.2316 webservice = IPaymentWebservice(self.student['payments'][value])2317 self.assertEqual( webservice.display_fullname, 'Anna Tester')2318 self.assertEqual( webservice.id, self.student_id)2319 self.assertEqual( webservice.faculty, 'fac1')2320 self.assertEqual( webservice.department, 'dep1')2315 # Student is the payer of the payment ticket. 2316 payer = IPayer(self.student['payments'][value]) 2317 self.assertEqual(payer.display_fullname, 'Anna Tester') 2318 self.assertEqual(payer.id, self.student_id) 2319 self.assertEqual(payer.faculty, 'fac1') 2320 self.assertEqual(payer.department, 'dep1') 2321 2321 2322 2322 # We simulate the approval … … 2795 2795 2796 2796 class PublicPagesTests(StudentsFullSetup): 2797 # Tests for s webservices2797 # Tests for simple webservices 2798 2798 2799 2799 layer = FunctionalLayer -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_payment.py
r9533 r10030 23 23 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase 24 24 from waeup.kofa.students.payments import ( 25 StudentOnlinePayment, StudentOnlinePaymentFactory, Pay mentWebservice)26 from waeup.kofa.payments.interfaces import IOnlinePayment, IPay mentWebservice25 StudentOnlinePayment, StudentOnlinePaymentFactory, Payer) 26 from waeup.kofa.payments.interfaces import IOnlinePayment, IPayer 27 27 from waeup.kofa.students.interfaces import IStudentNavigation 28 28 … … 49 49 assert implemented_by.isOrExtends(IStudentNavigation) 50 50 51 def test_ webservice_interface(self):52 verify.verifyClass(IPay mentWebservice, PaymentWebservice)51 def test_payer_interface(self): 52 verify.verifyClass(IPayer, Payer)
Note: See TracChangeset for help on using the changeset viewer.