Changeset 17494 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 19 Jul 2023, 16:41:44 (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r17468 r17494 685 685 # 'You must choose a payment which includes additional fees' 686 686 # in self.browser.contents) 687 configuration_2 = createObject('waeup.SessionConfiguration') 688 configuration_2.academic_session = 2019 689 self.app['configuration'].addSessionConfiguration(configuration_2) 690 self.student.father_name = u'Rudolf' 691 IWorkflowState(self.student).setState('returning') 692 self.browser.open(self.student_path + '/payments') 693 self.browser.getLink("Add current session payment ticket").click() 694 self.browser.getControl(name="form.p_category").value = ['schoolfee_incl'] 695 self.browser.getControl("Create ticket").click() 696 self.assertTrue('ticket created' in self.browser.contents) 697 value = self.student['payments'].keys()[1] 698 self.student['payments'][value].p_state = 'paid' 699 self.browser.getLink(value).click() 700 self.assertTrue('Amount Authorized' in self.browser.contents) 701 # It's 1000 less 702 self.assertEqual(self.student['payments'][value].amount_auth, 238500.0) 687 703 return 688 704
Note: See TracChangeset for help on using the changeset viewer.