- Timestamp:
- 28 Apr 2023, 08:38:41 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/tests/test_utils.py
r17391 r17397 74 74 self.app['configuration']['2005'].union_fee = 1434.0 75 75 error, payment = utils.setPaymentDetails('schoolfee',self.student) 76 self.assertEqual(error, u'Pay Student Union andICT fee(s) first.')76 self.assertEqual(error, u'Pay ICT fee(s) first.') 77 77 error, payment = utils.setPaymentDetails('ict_entre',self.student) 78 78 self.assertEqual(error, None) … … 82 82 payment.p_state = 'paid' 83 83 self.student['payments']['any_key'] = payment 84 error, payment = utils.setPaymentDetails('union',self.student)85 self.assertEqual(error, None)86 self.assertEqual(payment.p_level, 200)87 self.assertEqual(payment.p_session, 2005)88 self.assertEqual(payment.amount_auth, 1434.0)89 payment.p_state = 'paid'90 self.student['payments']['any_key_2'] = payment84 #error, payment = utils.setPaymentDetails('union',self.student) 85 #self.assertEqual(error, None) 86 #self.assertEqual(payment.p_level, 200) 87 #self.assertEqual(payment.p_session, 2005) 88 #self.assertEqual(payment.amount_auth, 1434.0) 89 #payment.p_state = 'paid' 90 #self.student['payments']['any_key_2'] = payment 91 91 error, payment = utils.setPaymentDetails('schoolfee',self.student) 92 92 self.assertEqual(error, None)
Note: See TracChangeset for help on using the changeset viewer.