Ignore:
Timestamp:
4 Mar 2013, 06:53:59 (12 years ago)
Author:
Henrik Bettermann
Message:

NCE student payment can be disabled by setting the base school fee to -1.

File:
1 edited

Legend:

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

    r9998 r10009  
    246246        self.assertEqual(error, None)
    247247
     248        # NCE student payment can be disabled by
     249        # setting the base school fee to -1
     250        IWorkflowState(self.student).setState('returning')
     251        configuration = createObject('waeup.SessionConfiguration')
     252        self.app['configuration']['2004'].school_fee_base = -1.0
     253        self.certificate.study_mode = 'nce_ft'
     254        error, payment = utils.setPaymentDetails('schoolfee',self.student)
     255        self.assertEqual(error, u'Amount could not be determined.')
     256
    248257        error, payment = utils.setPaymentDetails('clearance',self.student)
    249258        self.assertEqual(payment.p_level, 100)
Note: See TracChangeset for help on using the changeset viewer.