Changeset 17614 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 16 Oct 2023, 04:11:00 (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r17560 r17614 279 279 self.assertEqual(self.student['payments'].values()[0].p_category, 'schoolfee_1') 280 280 self.assertEqual(self.student['payments'].values()[1].p_category, 'schoolfee_2') 281 self.assertEqual(self.student['payments'].values()[0].amount_auth, 14 8500.0)281 self.assertEqual(self.student['payments'].values()[0].amount_auth, 144000.0) 282 282 self.assertEqual(self.student['payments'].values()[1].amount_auth, 92000.0) 283 283 # The two payments belong to the same session and level. … … 309 309 self.browser.getControl("Create ticket").click() 310 310 self.assertTrue('ticket created' in self.browser.contents) 311 self.assertEqual(self.student['payments'].values()[2].amount_auth, 14 8500.0)311 self.assertEqual(self.student['payments'].values()[2].amount_auth, 144000.0) 312 312 self.assertEqual(self.student['payments'].values()[3].amount_auth, 92000.0) 313 313 # The last two payments belong to the same session and level. … … 657 657 self.browser.getLink(value).click() 658 658 self.assertTrue('Amount Authorized' in self.browser.contents) 659 self.assertEqual(self.student['payments'][value].amount_auth, 2 40500.0)659 self.assertEqual(self.student['payments'][value].amount_auth, 236000.0) 660 660 self.student['payments'][value].r_company = u'interswitch' 661 661 self.browser.getLink("Download").click() … … 689 689 self.assertTrue('Amount Authorized' in self.browser.contents) 690 690 # It's 1000 less 691 self.assertEqual(self.student['payments'][value].amount_auth, 2 40500.0)691 self.assertEqual(self.student['payments'][value].amount_auth, 236000.0) 692 692 return 693 693
Note: See TracChangeset for help on using the changeset viewer.