Ignore:
Timestamp:
7 Jun 2016, 20:36:04 (8 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes in base package.

Location:
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students
Files:
2 edited

Legend:

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

    r13653 r13891  
    483483        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    484484        self.browser.getControl("Create ticket").click()
    485         self.assertMatches('...Payment temporarily disabled...',
     485        self.assertMatches('...This category of payments has been disabled...',
    486486                           self.browser.contents)
    487487        self.app['configuration']['2005'].payment_disabled = ['sf_non_pg']
     
    489489        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    490490        self.browser.getControl("Create ticket").click()
    491         self.assertMatches('...Payment temporarily disabled...',
     491        self.assertMatches('...This category of payments has been disabled...',
    492492                           self.browser.contents)
    493493        # ... but PG can pay.
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py

    r13653 r13891  
    265265            #category = 'schoolfee'
    266266        if self._isPaymentDisabled(p_session, category, student):
    267             return _('Payment temporarily disabled.'), None
     267            return _('This category of payments has been disabled.'), None
    268268        payment = createObject(u'waeup.StudentOnlinePayment')
    269269        timestamp = ("%d" % int(time()*10000))[1:]
Note: See TracChangeset for help on using the changeset viewer.