- Timestamp:
- 4 Nov 2021, 12:40:15 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edocons/trunk/src/kofacustom/edocons/interswitch/tests.py
r16655 r16698 72 72 '<span>40000.0</span>' in self.browser.contents) 73 73 self.payment_url = self.browser.url 74 self.browser.getLink("Pay via Interswitch ", index=0).click()75 self.assert True('<input type="hidden" name="pay_item_id" value="0000" />' in74 self.browser.getLink("Pay via Interswitch CollegePAY", index=0).click() 75 self.assertMatches('...<input type="hidden" name="pay_item_id" value="Default_Payable_MX26002" />...', 76 76 self.browser.contents) 77 77 self.assertEqual(self.student.current_mode, 'ug_ft') … … 93 93 self.student['payments']['xyz'] = acc_payment 94 94 self.browser.open(self.payments_path + '/xyz') 95 self.browser.getLink("Pay via Interswitch ", index=0).click()96 self.assertMatches('...<input type="hidden" name="pay_item_id" value=" 0000" />...',95 self.browser.getLink("Pay via Interswitch CollegePAY", index=0).click() 96 self.assertMatches('...<input type="hidden" name="pay_item_id" value="Default_Payable_MX26002" />...', 97 97 self.browser.contents) 98 98 self.assertMatches('...Total Amount Authorized:...',
Note: See TracChangeset for help on using the changeset viewer.