Changeset 14874 for main/kofacustom.skeleton/trunk
- Timestamp:
- 24 Oct 2017, 08:25:36 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/interswitch/tests.py
r13020 r14874 67 67 self.assertMatches('...Amount Authorized...', 68 68 self.browser.contents) 69 self.assertMatches( 70 '...<span>40000.0</span>...', 71 self.browser.contents) 69 self.assertTrue( 70 '<span>40000.0</span>' in self.browser.contents) 72 71 self.payment_url = self.browser.url 73 72 self.browser.getLink("CollegePAY", index=0).click() 74 self.assertMatches('...<input type="hidden" name="pay_item_id" value="0000" />...', 75 self.browser.contents) 76 self.assertMatches('...Total Amount Authorized:...', 73 self.assertTrue('<input type="hidden" name="pay_item_id" value="0000" />' in 77 74 self.browser.contents) 78 75 self.assertEqual(self.student.current_mode, 'ug_ft') 79 self.assert Matches(80 ' ...<input type="hidden" name="amount" value="4000000" />...',81 self.browser.contents) 82 self.assert Matches(83 ' ...item_name="School Fee" item_amt="4000000" bank_id="00" acct_num="00000000"...',76 self.assertTrue( 77 '<input type="hidden" name="amount" value="4000000" />' in 78 self.browser.contents) 79 self.assertTrue( 80 'item_name="School Fee" item_amt="3985000" bank_id="00" acct_num="00000000"' in 84 81 self.browser.contents) 85 82
Note: See TracChangeset for help on using the changeset viewer.