Changeset 13853 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 28 Apr 2016, 07:01:01 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py
r13846 r13853 87 87 self.assertEqual(error, u'Personal data form is not properly filled.') 88 88 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.') 89 91 error, payment = utils.setPaymentDetails('schoolfee',self.student) 90 92 self.assertEqual(payment.p_level, 200) … … 97 99 self.assertEqual(error, 'Acceptance Fee payments not allowed.') 98 100 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.') 99 103 error, payment = utils.setPaymentDetails('clearance',self.student) 100 104 self.assertEqual(payment.p_level, 100)
Note: See TracChangeset for help on using the changeset viewer.