- Timestamp:
- 15 Jan 2016, 09:32:50 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r13614 r13616 275 275 error, payment = utils.setPaymentDetails('hostel_maintenance',self.student) 276 276 self.assertEqual(payment, None) 277 self.assertEqual(error, ' You have not yet booked accommodation.')277 self.assertEqual(error, 'No bed space allocated.') 278 278 self.student['studycourse'].current_session = 2004 279 279 … … 281 281 self.assertEqual(payment.p_level, 100) 282 282 self.assertEqual(payment.p_session, 2004) 283 self.assertEqual(payment.amount_auth, 4150.0)283 self.assertEqual(payment.amount_auth, 1026.0) 284 284 self.assertEqual(payment.p_item, u'My bed coordinates') 285 285 self.assertEqual(error, None) … … 296 296 self.assertEqual(payment.p_level, 100) 297 297 self.assertEqual(payment.p_session, 2004) 298 self.assertEqual(payment.amount_auth, 2650.0)298 self.assertEqual(payment.amount_auth, 697.5) # 62.5% * 876 + 150 299 299 self.assertEqual(payment.p_item, u'My bed coordinates') 300 300 self.assertEqual(error, None)
Note: See TracChangeset for help on using the changeset viewer.