- Timestamp:
- 23 Feb 2020, 20:15:50 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r16009 r16011 289 289 290 290 error, payment = utils.setPaymentDetails('third_semester',self.student) 291 self.assertEqual(error, u'Amount could not be determined.') 292 self.student['studycourse'].current_level = 300 293 error, payment = utils.setPaymentDetails('third_semester',self.student) 291 294 self.assertEqual(error, u'Make NCE 3 school fee payment first.') 292 295 payment = createObject('waeup.StudentOnlinePayment') … … 299 302 payment.p_level = 300 300 303 error, payment = utils.setPaymentDetails('third_semester',self.student) 301 self.assertEqual(payment.p_level, 100)304 self.assertEqual(payment.p_level, 300) 302 305 self.assertEqual(payment.p_session, 2004) 303 306 self.assertEqual(payment.amount_auth, 7938) … … 307 310 self.certificate.study_mode = u'nce_sw' 308 311 error, payment = utils.setPaymentDetails('hostel_maintenance',self.student) 309 self.assertEqual(payment.p_level, 100)312 self.assertEqual(payment.p_level, 300) 310 313 self.assertEqual(payment.p_session, 2004) 311 314 self.assertEqual(payment.amount_auth, 547.5) # 62.5% * 876 … … 314 317 315 318 error, payment = utils.setPaymentDetails('bed_allocation',self.student) 316 self.assertEqual(payment.p_level, 100)319 self.assertEqual(payment.p_level, 300) 317 320 self.assertEqual(payment.p_session, 2004) 318 321 self.assertEqual(payment.amount_auth, 150)
Note: See TracChangeset for help on using the changeset viewer.