Changeset 14071
- Timestamp:
- 11 Aug 2016, 10:16:40 (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
r14070 r14071 304 304 </payment_item_detail>""" % xmldict 305 305 306 if self.applicant.applicant_id.startswith('pre'): 306 if self.applicant.applicant_id.startswith('pre') \ 307 and not self.applicant.applicant_id.startswith('prejambites'): 307 308 xmltext = """<payment_item_detail> 308 309 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s"> -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py
r14066 r14071 597 597 self.assertTrue( 598 598 '<item_detail item_id="1" item_name="Application" ' 599 'item_amt="303300" bank_id="10" acct_num="0106259811" />' 600 in self.browser.contents) 601 self.assertFalse('Dalash' in self.browser.contents) 602 self.assertTrue( 603 '<item_detail item_id="2" item_name="BT Education" ' 604 'item_amt="26250" bank_id="117" acct_num="1010764827" />' 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) 603 #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" />' 605 612 in self.browser.contents) 606 613 self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.