- Timestamp:
- 21 Aug 2013, 16:43:41 (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/interswitch/tests.py
r10388 r10520 140 140 self.browser.contents) 141 141 self.assertTrue( 142 '<span>4 300.0</span>' in self.browser.contents)142 '<span>4150.0</span>' in self.browser.contents) 143 143 # p_item is not unveiled 144 144 self.assertFalse('Hall 1, Block A, Room 101, Bed A' … … 161 161 self.browser.contents) 162 162 self.assertTrue( 163 '<input type="hidden" name="amount" value="4 30000.0" />'164 in self.browser.contents) 165 self.assertTrue( 166 'item_name="Hostel Maintenance Fee" item_amt="4 15000" bank_id="117" acct_num="1012044132"'163 '<input type="hidden" name="amount" value="415000.0" />' 164 in self.browser.contents) 165 self.assertTrue( 166 'item_name="Hostel Maintenance Fee" item_amt="400000" bank_id="117" acct_num="1012044132"' 167 167 in self.browser.contents) 168 168 # BT does nor charge a fee for maintenance fee -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r10388 r10520 285 285 self.assertEqual(payment.p_level, 100) 286 286 self.assertEqual(payment.p_session, 2004) 287 self.assertEqual(payment.amount_auth, 4 300.0)287 self.assertEqual(payment.amount_auth, 4150.0) 288 288 self.assertEqual(payment.p_item, u'My bed coordinates') 289 289 self.assertEqual(error, None) … … 293 293 self.assertEqual(payment.p_level, 100) 294 294 self.assertEqual(payment.p_session, 2004) 295 self.assertEqual(payment.amount_auth, 2 800.0)295 self.assertEqual(payment.amount_auth, 2650.0) 296 296 self.assertEqual(payment.p_item, u'My bed coordinates') 297 297 self.assertEqual(error, None) -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r10388 r10520 98 98 return _(u'Current session does not match accommodation session.'), None 99 99 if student.current_mode.endswith('_sw') or student.current_mode == 'pd_ft': 100 amount = 2 650.0100 amount = 2500.0 #removed interswitch fee 101 101 else: 102 amount = 4 150.0102 amount = 4000.0 #removed interswitch fee 103 103 elif category == 'clearance': 104 104 amount = academic_session.clearance_fee
Note: See TracChangeset for help on using the changeset viewer.