- Timestamp:
- 28 Oct 2014, 13:21:10 (10 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py
r11867 r11883 241 241 xmldict['institution_acct'] = '7000016724' 242 242 xmldict['institution_bank_id'] = '9' 243 elif self.applicant.applicant_id.startswith('prejambites'): 243 elif self.applicant.applicant_id.startswith('prejambites') or \ 244 self.applicant.applicant_id.startswith('putme'): 244 245 # changed for prejambites from GTBank '0106259811' to FBN '2013910271' 245 246 xmldict['institution_acct'] = '2013910271' -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py
r11865 r11883 605 605 in self.browser.contents) 606 606 607 # putme goes into the prejambites account 608 self.applicant.applicant_id = u'putme_anything' 609 self.browser.open(self.manage_path) 610 ctrl = self.browser.getControl(name='val_id') 611 value = ctrl.options[0] 612 self.browser.getLink(value).click() 613 self.browser.getLink("CollegePAY", index=0).click() 614 self.assertTrue( 615 '<item_detail item_id="1" item_name="Application Fee" ' 616 'item_amt="253300" bank_id="8" acct_num="2013910271" />' 617 in self.browser.contents) 618 self.assertTrue( 619 '<item_detail item_id="2" item_name="Dalash" item_amt="20000" ' 620 'bank_id="117" acct_num="1013196791" />' 621 in self.browser.contents) 622 self.assertTrue( 623 '<item_detail item_id="3" item_name="BT Education" ' 624 'item_amt="30000" bank_id="117" acct_num="1010764827" />' 625 in self.browser.contents) 626 self.assertTrue( 627 '<input type="hidden" name="pay_item_id" value="104" />' 628 in self.browser.contents) 607 629 608 630 def prepare_special_container(self):
Note: See TracChangeset for help on using the changeset viewer.