- Timestamp:
- 18 Dec 2012, 17:25:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py
r9789 r9811 32 32 # If you enable this, please make sure the external services 33 33 # do exist really and are not bothered by being spammed by a test programme. 34 EXTERNAL_TESTS = True34 EXTERNAL_TESTS = False 35 35 36 36 def external_test(func): … … 118 118 self.assertMatches('...Total Amount Authorized:...', 119 119 self.browser.contents) 120 self.assert Matches(121 ' ...<input type="hidden" name="amount" value="3710000.0" />...',122 self.browser.contents) 123 self.assert Matches(124 ' ...item_name="School Fee" item_amt="3380000" bank_id="120" acct_num="1771180233"...',125 self.browser.contents) 126 self.assert Matches(127 ' ...item_name="Dalash" item_amt="180000" bank_id="117" acct_num="1013196791"...',128 self.browser.contents) 129 self.assert Matches(130 ' ...item_name="BT Education" item_amt="120000" bank_id="117" acct_num="1010764827"...',120 self.assertTrue( 121 '<input type="hidden" name="amount" value="3660000.0" />' in 122 self.browser.contents) 123 self.assertTrue( 124 'item_name="School Fee" item_amt="3330000" bank_id="120" acct_num="1771180233"' in 125 self.browser.contents) 126 self.assertTrue( 127 'item_name="Dalash" item_amt="180000" bank_id="117" acct_num="1013196791"' in 128 self.browser.contents) 129 self.assertTrue( 130 'item_name="BT Education" item_amt="120000" bank_id="117" acct_num="1010764827"' in 131 131 self.browser.contents) 132 132
Note: See TracChangeset for help on using the changeset viewer.