Ignore:
Timestamp:
25 Jun 2023, 21:18:49 (18 months ago)
Author:
Henrik Bettermann
Message:

Enable other fees payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py

    r17431 r17456  
    617617        self.student['accommodation'].addBedTicket(bedticket)
    618618
    619     def deactivated_test_maintenance_fee_payment(self):
     619    def test_maintenance_fee_payment(self):
    620620        self.certificate.study_mode = 'ug_ft'
    621621        self.student['studycourse'].entry_session = 2013
     
    687687        return
    688688
    689     def deactivated_test_late_registration(self):
     689    def test_late_registration(self):
    690690        delta = timedelta(days=10)
    691691        self.app['configuration'][
     
    704704        # Ivie: The restitution was only for returning students of 2016/2017.
    705705        # Hence, it is only valid for 2016 payment session returning students.
    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()
     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()
    714714        # Make late registration fee payment
    715715        self.student['studycourse'].current_session = 2004
     
    736736        self.browser.getControl("Register course list").click()
    737737        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()
    739739        self.browser.getControl("Register course list").click()
    740740        self.assertTrue('Course list has been registered' in self.browser.contents)
     
    751751
    752752
    753     def deactivated_test_student_course_registration(self):
     753    def test_student_course_registration(self):
    754754        # Add more courses
    755755        self.course2 = createObject('waeup.Course')
     
    988988        return
    989989
    990     def deactivated_test_student_GST_registration(self):
     990    def test_student_GST_registration(self):
    991991        configuration_1 = createObject('waeup.SessionConfiguration')
    992992        configuration_1.academic_session = 2016
Note: See TracChangeset for help on using the changeset viewer.