- Timestamp:
- 9 Sep 2013, 06:00:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py
r10254 r10597 366 366 'item_amt="30000" bank_id="117" acct_num="1010764827" />' 367 367 in self.browser.contents) 368 369 # prehndft fee goes to another account 370 self.applicant.applicant_id = u'prehnd_anything' 371 self.browser.open(self.manage_path) 372 ctrl = self.browser.getControl(name='val_id') 373 value = ctrl.options[0] 374 self.browser.getLink(value).click() 375 self.browser.getLink("CollegePAY", index=0).click() 376 self.assertTrue( 377 '<item_detail item_id="1" item_name="application" ' 378 'item_amt="303300" bank_id="8" acct_num="2013910271" />' 379 in self.browser.contents) 380 # No 'commission', no provider fee 381 self.assertFalse('Dalash' in self.browser.contents) 382 self.assertFalse('BT Education' in self.browser.contents) 383 384 # prejambites fee goes to another account 385 self.applicant.applicant_id = u'prejambites_anything' 386 self.browser.open(self.manage_path) 387 ctrl = self.browser.getControl(name='val_id') 388 value = ctrl.options[0] 389 self.browser.getLink(value).click() 390 self.browser.getLink("CollegePAY", index=0).click() 391 self.assertTrue( 392 '<item_detail item_id="1" item_name="application" ' 393 'item_amt="303300" bank_id="10" acct_num="0106259811" />' 394 in self.browser.contents) 395 # No 'commission', no provider fee 396 self.assertFalse('Dalash' in self.browser.contents) 397 self.assertFalse('BT Education' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.