Ignore:
Timestamp:
12 Jun 2015, 07:27:02 (10 years ago)
Author:
Henrik Bettermann
Message:

Bypass SFE access code creation also in AAUE.

File:
1 edited

Legend:

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

    r13038 r13043  
    173173        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    174174        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
    175         # If school fee ticket is paid ...
     175        # If school fee ticket is paid, the student is automatically set to
     176        # school fee paid...
    176177        ticket = self.student['payments'][sfpt_value].approveStudentPayment()
     178        self.assertEqual(self.student.state, 'school fee paid')
    177179        # ... no further school fee ticket can be added.
    178180        self.browser.open(self.payments_path + '/addop')
    179181        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    180182        self.browser.getControl("Create ticket").click()
    181         self.assertMatches('...This type of payment has already been made...',
     183        self.assertMatches('...Wrong state...',
    182184                           self.browser.contents)
    183185        self.browser.open(self.payments_path + '/addop')
Note: See TracChangeset for help on using the changeset viewer.