Ignore:
Timestamp:
7 May 2019, 08:50:16 (6 years ago)
Author:
Henrik Bettermann
Message:

Reset library flag after returning school fee payment.

File:
1 edited

Legend:

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

    r15401 r15403  
    248248
    249249    def test_jhl_idcard(self):
     250        IWorkflowState(self.student).setState('returning')
    250251        self.browser.open(self.login_path)
    251252        self.browser.getControl(name="form.login").value = self.student_id
     
    262263        open(path, 'wb').write(self.browser.contents)
    263264        print "Sample PDF jhl_idcard_student.pdf written to %s" % path
     265        self.assertTrue(self.student.library)
     266        IWorkflowInfo(self.student).fireTransition('pay_school_fee')
     267        self.assertFalse(self.student.library)
    264268
    265269    def test_jupeb_result_slip(self):
Note: See TracChangeset for help on using the changeset viewer.