- Timestamp:
- 25 Jan 2017, 09:26:29 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/tests/test_utils.py
r14344 r14455 25 25 configuration.academic_session = 2016 26 26 self.app['configuration'].addSessionConfiguration(configuration) 27 self.app['configuration']['2016'].clearance_fee = 10234.0 27 self.app['configuration']['2016'].clearance_fee_1 = 10300.0 28 self.app['configuration']['2016'].clearance_fee_2 = 20300.0 28 29 29 30 error, payment = utils.setPaymentDetails('schoolfee',self.student) … … 49 50 50 51 error, payment = utils.setPaymentDetails('clearance',self.student) 51 self.assertEqual(payment.amount_auth, 15234.0)52 self.assertEqual(payment.amount_auth, 25300.0) 52 53 self.assertEqual(payment.p_item, u'CERT1') 53 54 … … 56 57 self.assertEqual(payment.amount_auth, 69500.0) 57 58 error, payment = utils.setPaymentDetails('clearance',self.student) 58 self.assertEqual(payment.amount_auth, 10234.0) 59 self.assertEqual(payment.amount_auth, 20300.0) 60 61 self.student['studycourse'].certificate.study_mode = 'nce_ft' 62 error, payment = utils.setPaymentDetails('clearance',self.student) 63 self.assertEqual(payment.amount_auth, 10300.0) 59 64 return
Note: See TracChangeset for help on using the changeset viewer.