Changeset 10876
- Timestamp:
- 7 Jan 2014, 07:46:32 (11 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/tests/test_browser.py
r10875 r10876 30 30 from waeup.fceokene.testing import FunctionalLayer 31 31 32 session = datetime. now().year - 232 session = datetime.datetime.now().year - 2 33 33 34 34 class ApplicantUITest(FunctionalTestCase): -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r10829 r10876 247 247 self.assertEqual(error, None) 248 248 249 # UG students pay 65800249 # UG returning students pay 56150 250 250 self.certificate.study_mode = 'ug_ft' 251 error, payment = utils.setPaymentDetails('schoolfee',self.student) 252 self.assertEqual(payment.amount_auth, 56300.0) 253 self.assertEqual(error, None) 254 # UG cleared students pay 65650 255 IWorkflowState(self.student).setState('cleared') 251 256 error, payment = utils.setPaymentDetails('schoolfee',self.student) 252 257 self.assertEqual(payment.amount_auth, 65800.0) -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r10829 r10876 165 165 # UG 166 166 elif student.current_mode == 'ug_ft': 167 amount = 65650 167 # Introducing returning students fee for 'ug_ft' for 1st time 168 # on 07/01/2014 169 if student.state == CLEARED: 170 amount = 65650 171 else: 172 amount = 56150 168 173 # NCE 169 174 elif not student.current_mode.endswith('_sw'):
Note: See TracChangeset for help on using the changeset viewer.