- Timestamp:
- 12 Aug 2016, 07:32:44 (8 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
r14071 r14074 253 253 xmldict['institution_acct'] = '0106259811' 254 254 xmldict['institution_bank_id'] = '10' 255 elif self.applicant.applicant_id.startswith('prejambites') or \ 256 self.applicant.applicant_id.startswith('putme'): 255 elif self.applicant.applicant_id.startswith('putme'): 257 256 xmldict['institution_acct'] = '0106259811' 258 257 xmldict['institution_bank_id'] = '10' … … 304 303 </payment_item_detail>""" % xmldict 305 304 306 if self.applicant.applicant_id.startswith('pre') \ 307 and not self.applicant.applicant_id.startswith('prejambites'): 305 if self.applicant.applicant_id.startswith('pre'): 308 306 xmltext = """<payment_item_detail> 309 307 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s"> -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py
r14071 r14074 597 597 self.assertTrue( 598 598 '<item_detail item_id="1" item_name="Application" ' 599 'item_amt="253300" bank_id="10" acct_num="0106259811" />' 600 in self.browser.contents) 601 # No 'commission', no provider fee in 2013 602 #self.assertFalse('Dalash' in self.browser.contents) 599 'item_amt="303300" bank_id="10" acct_num="0106259811" />' 600 in self.browser.contents) 601 self.assertFalse('Dalash' in self.browser.contents) 603 602 #self.assertFalse('BT Education' in self.browser.contents) 604 # Comission is charged from 14/09/2014 605 self.assertTrue( 606 '<item_detail item_id="2" item_name="Dalash" item_amt="20000" ' 607 'bank_id="117" acct_num="1013196791" />' 608 in self.browser.contents) 609 self.assertTrue( 610 '<item_detail item_id="3" item_name="BT Education" ' 611 'item_amt="30000" bank_id="117" acct_num="1010764827" />' 603 self.assertTrue( 604 '<item_detail item_id="2" item_name="BT Education" ' 605 'item_amt="26250" bank_id="117" acct_num="1010764827" />' 612 606 in self.browser.contents) 613 607 self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.