- Timestamp:
- 15 Sep 2022, 16:49:06 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/tests/test_utils.py
r15386 r17102 69 69 configuration.academic_session = 2005 70 70 self.app['configuration'].addSessionConfiguration(configuration) 71 self.app['configuration']['2004'].ict_entre_fee = 170.072 self.app['configuration']['2005'].ict_entre_fee = 180.071 self.app['configuration']['2004'].ict_entre_fee = 4170.0 72 self.app['configuration']['2005'].ict_entre_fee = 2180.0 73 73 error, payment = utils.setPaymentDetails('schoolfee',self.student) 74 74 self.assertEqual(error, u'Pay ICT fee(s) first.') … … 77 77 self.assertEqual(payment.p_level, 200) 78 78 self.assertEqual(payment.p_session, 2005) 79 self.assertEqual(payment.amount_auth, 16000.0)79 self.assertEqual(payment.amount_auth, 2180.0) 80 80 payment.p_state = 'paid' 81 81 self.student['payments']['any_key'] = payment … … 91 91 self.assertEqual(payment.p_level, 100) 92 92 self.assertEqual(payment.p_session, 2004) 93 self.assertEqual(payment.amount_auth, 16000.0)93 self.assertEqual(payment.amount_auth, 4170.0) 94 94 payment.p_state = 'paid' 95 95 self.student['payments']['any_key_2'] = payment
Note: See TracChangeset for help on using the changeset viewer.