Changeset 9298 for main/waeup.futminna/trunk/src
- Timestamp:
- 5 Oct 2012, 11:26:26 (12 years ago)
- Location:
- main/waeup.futminna/trunk/src/waeup/futminna/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/students/tests/test_browser.py
r9244 r9298 108 108 IWorkflowState(self.student).setState('returning') 109 109 error, payment = utils.setPaymentDetails('schoolfee',self.student) 110 self.assertEqual(payment.p_level, 100)111 self.assertEqual(payment.p_session, 200 4)110 self.assertEqual(payment.p_level, 200) 111 self.assertEqual(payment.p_session, 2005) 112 112 self.assertEqual(payment.amount_auth, 37000.0) 113 113 self.assertEqual(payment.p_item, u'CERT1') -
main/waeup.futminna/trunk/src/waeup/futminna/students/utils.py
r9244 r9298 79 79 else: 80 80 amount = 74200.0 81 82 81 # fresh 83 82 elif student.state == CLEARED: … … 98 97 else: 99 98 amount = 0.0 99 if student.state == RETURNING: 100 p_session, p_level = self.getReturningData(student) 100 101 elif category == 'clearance': 101 102 try:
Note: See TracChangeset for help on using the changeset viewer.