Changeset 17456 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 25 Jun 2023, 21:18:49 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r17431 r17456 617 617 self.student['accommodation'].addBedTicket(bedticket) 618 618 619 def deactivated_test_maintenance_fee_payment(self):619 def test_maintenance_fee_payment(self): 620 620 self.certificate.study_mode = 'ug_ft' 621 621 self.student['studycourse'].entry_session = 2013 … … 687 687 return 688 688 689 def deactivated_test_late_registration(self):689 def test_late_registration(self): 690 690 delta = timedelta(days=10) 691 691 self.app['configuration'][ … … 704 704 # Ivie: The restitution was only for returning students of 2016/2017. 705 705 # Hence, it is only valid for 2016 payment session returning students. 706 configuration = createObject('waeup.SessionConfiguration')707 configuration.academic_session = 2016708 self.app['configuration'].addSessionConfiguration(configuration)709 self.app['configuration']['2016'].restitution_fee = 9999.0710 self.browser.open(self.payments_path + '/addop')711 self.browser.getControl(name="form.p_category").value = ['restitution']712 self.browser.getControl("Create ticket").click()713 self.student['payments'].values()[0].approveStudentPayment()706 #configuration = createObject('waeup.SessionConfiguration') 707 #configuration.academic_session = 2016 708 #self.app['configuration'].addSessionConfiguration(configuration) 709 #self.app['configuration']['2016'].restitution_fee = 9999.0 710 #self.browser.open(self.payments_path + '/addop') 711 #self.browser.getControl(name="form.p_category").value = ['restitution'] 712 #self.browser.getControl("Create ticket").click() 713 #self.student['payments'].values()[0].approveStudentPayment() 714 714 # Make late registration fee payment 715 715 self.student['studycourse'].current_session = 2004 … … 736 736 self.browser.getControl("Register course list").click() 737 737 self.assertTrue('Course registration has ended. Please pay' in self.browser.contents) 738 self.student['payments'].values()[ 1].approve()738 self.student['payments'].values()[0].approve() 739 739 self.browser.getControl("Register course list").click() 740 740 self.assertTrue('Course list has been registered' in self.browser.contents) … … 751 751 752 752 753 def deactivated_test_student_course_registration(self):753 def test_student_course_registration(self): 754 754 # Add more courses 755 755 self.course2 = createObject('waeup.Course') … … 988 988 return 989 989 990 def deactivated_test_student_GST_registration(self):990 def test_student_GST_registration(self): 991 991 configuration_1 = createObject('waeup.SessionConfiguration') 992 992 configuration_1.academic_session = 2016
Note: See TracChangeset for help on using the changeset viewer.