Changeset 12627
- Timestamp:
- 23 Feb 2015, 09:42:10 (10 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
r12188 r12627 165 165 self.browser.contents) 166 166 self.assertTrue( 167 '<span> 5150.0</span>' in self.browser.contents)167 '<span>4450.0</span>' in self.browser.contents) 168 168 # p_item is not unveiled 169 169 self.assertFalse('Hall 1, Block A, Room 101, Bed A' … … 186 186 self.browser.contents) 187 187 self.assertTrue( 188 '<input type="hidden" name="amount" value=" 515000" />'189 in self.browser.contents) 190 self.assertTrue( 191 'item_name="Hostel Maintenance Fee" item_amt=" 500000" bank_id="117" acct_num="1012044132"'188 '<input type="hidden" name="amount" value="445000" />' 189 in self.browser.contents) 190 self.assertTrue( 191 'item_name="Hostel Maintenance Fee" item_amt="430000" bank_id="117" acct_num="1012044132"' 192 192 in self.browser.contents) 193 193 # BT does nor charge a fee for maintenance fee -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r12188 r12627 281 281 self.assertEqual(payment.p_level, 100) 282 282 self.assertEqual(payment.p_session, 2004) 283 self.assertEqual(payment.amount_auth, 5150.0)283 self.assertEqual(payment.amount_auth, 4450.0) 284 284 self.assertEqual(payment.p_item, u'My bed coordinates') 285 285 self.assertEqual(error, None) -
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r12602 r12627 140 140 amount = 2500.0 #removed interswitch fee 141 141 else: 142 amount = 5000.0 #removed interswitch fee142 amount = 4300.0 #removed interswitch fee 143 143 elif category == 'clearance': 144 144 amount = academic_session.clearance_fee
Note: See TracChangeset for help on using the changeset viewer.