Changeset 17057 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 5 Aug 2022, 16:34:49 (2 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r16967 r17057 179 179 cpt_value = ctrl.options[0] 180 180 # School fee payment ticket can be added ... 181 self.student['studycourse'].certificate.school_fee_ 1= 6666.0181 self.student['studycourse'].certificate.school_fee_3 = 6666.0 182 182 self.student.nationality = u'NG' 183 183 self.browser.open(self.payments_path + '/addop') … … 233 233 self.app['configuration'].addSessionConfiguration(configuration_1) 234 234 self.student['studycourse'].certificate.study_mode = 'ug_pt' 235 self.student['studycourse'].certificate.school_fee_ 1= 6666.0235 self.student['studycourse'].certificate.school_fee_2 = 6666.0 236 236 self.app['configuration']['2015'].union_fee = 1250.0 237 237 self.app['configuration']['2015'].welfare_fee = 750.0 … … 329 329 330 330 def test_manage_payments_bypass_ac_creation(self): 331 self.student['studycourse'].certificate.school_fee_ 1= 6666.0331 self.student['studycourse'].certificate.school_fee_3 = 6666.0 332 332 self.student.nationality = u'NG' 333 333 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') … … 563 563 564 564 def test_payment_disabled(self): 565 self.student['studycourse'].certificate.school_fee_3 = 6666.0 565 566 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 566 567 self.browser.open(self.payments_path) … … 648 649 self.student['studycourse'].current_session = 2018 649 650 self.student['studycourse'].entry_mode = 'ug_ft' 650 self.student['studycourse'].certificate.school_fee_ 1= 50200.0651 self.student['studycourse'].certificate.school_fee_2 = 50200.0 651 652 self.app['configuration']['2018'].union_fee = 1200.0 652 653 self.app['configuration']['2018'].welfare_fee = 700.0 -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py
r15871 r17057 74 74 self.assertEqual(payment.p_level, 100) 75 75 self.assertEqual(payment.p_session, 2004) 76 self.assertEqual(payment.amount_auth, 2 6666.0)76 self.assertEqual(payment.amount_auth, 28888.0) 77 77 self.assertEqual(payment.p_item, u'CERT1') 78 78 self.assertEqual(error, None) … … 84 84 self.student.lga = 'edo_afuze' 85 85 error, payment = utils.setPaymentDetails('schoolfee',self.student) 86 self.assertEqual(payment.amount_auth, 6765.0)86 self.assertEqual(payment.amount_auth, 8987.0) 87 87 IWorkflowState(self.student).setState('returning') 88 88 error, payment = utils.setPaymentDetails('schoolfee',self.student) … … 164 164 self.assertEqual(payment.p_level, 100) 165 165 self.assertEqual(payment.p_session, 2004) 166 self.assertEqual(payment.amount_auth, 6666.0)166 self.assertEqual(payment.amount_auth, 8888.0) 167 167 self.assertEqual(payment.p_item, u'CERT1') 168 168 self.assertEqual(error, None)
Note: See TracChangeset for help on using the changeset viewer.