Changeset 9728 for main/waeup.uniben/trunk/src/waeup/uniben/interswitch
- Timestamp:
- 27 Nov 2012, 11:17:29 (12 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py
r9727 r9728 275 275 elif self.context.p_category.startswith('hostel_maintenance'): 276 276 self.pay_item_id = '5705' 277 provider_amt = 400277 provider_amt = 0 278 278 xmldict['institution_bank_id'] = '129' 279 279 xmldict['institution_acct'] = '0014414547' -
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/tests.py
r9727 r9728 197 197 self.browser.getLink(value).click() 198 198 self.assertMatches( 199 '...<span>8 550.0</span>...',199 '...<span>8150.0</span>...', 200 200 self.browser.contents) 201 201 # Manager can access InterswitchForm … … 206 206 self.browser.contents) 207 207 self.assertMatches( 208 '...<input type="hidden" name="amount" value="8 55000.0" />...',208 '...<input type="hidden" name="amount" value="815000.0" />...', 209 209 self.browser.contents) 210 210 self.assertMatches( 211 211 '...<item_detail item_id="1" item_name="Hostel Maint. Fee" item_amt="800000" bank_id="129" acct_num="0014414547" />...', 212 212 self.browser.contents) 213 self.assertMatches( 214 '...item_name="BT Education" item_amt="40000" bank_id="117" acct_num="1010764827"...', 215 self.browser.contents) 216 213 self.assertFalse( 214 'item_name="BT Education"' in self.browser.contents) 217 215 218 216 # @external_test
Note: See TracChangeset for help on using the changeset viewer.