Ignore:
Timestamp:
15 Jan 2013, 14:45:32 (12 years ago)
Author:
Henrik Bettermann
Message:

pg school fees are set in certificates (in contrast to ug fees). If a penalty fee is set 9999 school fee payment is disabled for the respective mode.

File:
1 edited

Legend:

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

    r9732 r9888  
    145145        self.assertEqual(error, None)
    146146
     147        self.certificate2.study_mode = 'pg_ft'
     148        error, payment = utils.setPaymentDetails('schoolfee',self.student)
     149        self.assertEqual(error, u'Amount could not be determined.')
     150        self.certificate2.school_fee_1 = 876.55
     151        error, payment = utils.setPaymentDetails('schoolfee',self.student)
     152        self.assertEqual(payment.amount_auth, 876.55)
     153
    147154        self.certificate2.study_mode = 'jm_ft'
    148155        error, payment = utils.setPaymentDetails('schoolfee',self.student)
Note: See TracChangeset for help on using the changeset viewer.