- Timestamp:
- 8 Jul 2024, 17:41:00 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r17673 r17837 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 4000.0)281 self.assertEqual(self.student['payments'].values()[0].amount_auth, 148500.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 4000.0)311 self.assertEqual(self.student['payments'].values()[2].amount_auth, 148500.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 36000.0)659 self.assertEqual(self.student['payments'][value].amount_auth, 240500.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 36000.0)691 self.assertEqual(self.student['payments'][value].amount_auth, 240500.0) 692 692 return 693 693
Note: See TracChangeset for help on using the changeset viewer.