Changeset 15997 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 10 Feb 2020, 10:53:45 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r15919 r15997 609 609 def test_student_schoolfee_payments(self): 610 610 configuration_1 = createObject('waeup.SessionConfiguration') 611 configuration_1.academic_session = 201 6611 configuration_1.academic_session = 2018 612 612 self.app['configuration'].addSessionConfiguration(configuration_1) 613 613 self.certificate.study_mode = 'ug_ft' 614 self.student['studycourse'].entry_session = 201 6615 self.student['studycourse'].current_session = 201 6614 self.student['studycourse'].entry_session = 2018 615 self.student['studycourse'].current_session = 2018 616 616 self.student['studycourse'].entry_mode = 'ug_ft' 617 617 self.student['studycourse'].certificate.school_fee_1 = 50200.0 618 self.app['configuration']['2016'].union_fee = 1200.0 619 self.app['configuration']['2016'].welfare_fee = 700.0 620 self.app['configuration']['2016'].id_card_fee = 300.0 618 self.app['configuration']['2018'].union_fee = 1200.0 619 self.app['configuration']['2018'].welfare_fee = 700.0 620 #self.app['configuration']['2017'].id_card_fee = 300.0 621 self.app['configuration']['2018'].sports_fee = 300.0 622 self.app['configuration']['2018'].library_fee = 300.0 621 623 self.student.nationality = u'NG' 622 624 # Login … … 635 637 self.browser.getLink(value).click() 636 638 self.assertTrue('Amount Authorized' in self.browser.contents) 637 # 50200 + 1200 + 700 + 300 - 600 = 51800638 self.assertEqual(self.student['payments'][value].amount_auth, 51 800.0)639 # 50200 + 1200 + 700 + 300 + 300- 800 = 51900 640 self.assertEqual(self.student['payments'][value].amount_auth, 51900.0) 639 641 self.student['payments'][value].r_company = u'interswitch' 640 642 self.browser.open(self.browser.url + '/payment_slip.pdf')
Note: See TracChangeset for help on using the changeset viewer.