Ignore:
Timestamp:
28 Apr 2016, 07:01:01 (9 years ago)
Author:
Henrik Bettermann
Message:

Postgraduate students must not pay additional fees.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py

    r13846 r13853  
    8787        self.assertEqual(error, u'Personal data form is not properly filled.')
    8888        self.student.father_name = u'Rudolf'
     89        error, payment = utils.setPaymentDetails('schoolfee_incl',self.student)
     90        self.assertEqual(error, 'This type of payment is not allowed.')
    8991        error, payment = utils.setPaymentDetails('schoolfee',self.student)
    9092        self.assertEqual(payment.p_level, 200)
     
    9799        self.assertEqual(error, 'Acceptance Fee payments not allowed.')
    98100        IWorkflowState(self.student).setState('cleared')
     101        error, payment = utils.setPaymentDetails('clearance_incl',self.student)
     102        self.assertEqual(error, 'This type of payment is not allowed.')
    99103        error, payment = utils.setPaymentDetails('clearance',self.student)
    100104        self.assertEqual(payment.p_level, 100)
Note: See TracChangeset for help on using the changeset viewer.