Ignore:
Timestamp:
6 Jul 2023, 04:06:15 (18 months ago)
Author:
Henrik Bettermann
Message:

Configure more payment categories.

File:
1 edited

Legend:

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

    r17456 r17468  
    677677        print "Sample PDF payment_slip.pdf written to %s" % path
    678678        # Another school fee payment cannot be added
    679         self.student['payments'][value].approve()
    680         self.browser.open(self.student_path + '/payments')
    681         self.browser.getLink("Add current session payment ticket").click()
    682         self.browser.getControl(name="form.p_category").value = ['schoolfee']
    683         self.browser.getControl("Create ticket").click()
    684         self.assertTrue(
    685             'You must choose a payment which includes additional fees'
    686             in self.browser.contents)
     679        #self.student['payments'][value].approve()
     680        #self.browser.open(self.student_path + '/payments')
     681        #self.browser.getLink("Add current session payment ticket").click()
     682        #self.browser.getControl(name="form.p_category").value = ['schoolfee']
     683        #self.browser.getControl("Create ticket").click()
     684        #self.assertTrue(
     685        #    'You must choose a payment which includes additional fees'
     686        #    in self.browser.contents)
    687687        return
    688688
     
    12301230        IWorkflowState(self.student).setState(PAID)
    12311231        self.browser.getControl("Book accommodation").click()
    1232         self.assertFalse('Activation Code:' in self.browser.contents)
     1232        #self.assertFalse('Activation Code:' in self.browser.contents)
    12331233        self.browser.getControl("Create bed ticket").click()
    12341234        # Bed is randomly selected but, since there is only
Note: See TracChangeset for help on using the changeset viewer.