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

Reset library flag after returning school fee payment.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/students
Files:
1 added
2 edited

Legend:

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

    r15401 r15403  
    333333    prefix = 'form'
    334334
    335     label = u"John Harris Library Reader's Ticket"
     335    label = u"John Harris Library Clearance"
    336336
    337337    omit_fields = (
  • 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.