Ignore:
Timestamp:
15 May 2013, 14:08:21 (12 years ago)
Author:
Henrik Bettermann
Message:

Returning students with entry session 2005-2007 get a reduction of 20000

File:
1 edited

Legend:

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

    r10173 r10180  
    164164        error, payment = utils.setPaymentDetails('schoolfee_2',self.student)
    165165        self.assertEqual(payment.amount_auth, 60.0)
     166
     167        # Returning students with entry session 2005-2007
     168        # get a reduction of 20000
     169        IWorkflowState(self.student).setState('returning')
     170        self.student['studycourse'].entry_session = 2005
     171        error, payment = utils.setPaymentDetails('schoolfee_1',self.student)
     172        self.assertEqual(payment.amount_auth, -19920.0)
Note: See TracChangeset for help on using the changeset viewer.