- Timestamp:
- 15 Jun 2012, 11:09:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r8708 r8732 1312 1312 self.browser.open(payment_url) 1313 1313 self.browser.getLink("Approve payment").click() 1314 self.assertMatches('... Successful payment...',1314 self.assertMatches('...Payment approved...', 1315 1315 self.browser.contents) 1316 1316 … … 1363 1363 self.browser.getLink(value).click() 1364 1364 self.browser.open(self.browser.url + '/approve') 1365 self.assertMatches('... Successful payment...',1365 self.assertMatches('...Payment approved...', 1366 1366 self.browser.contents) 1367 1367 expected = '''... … … 1402 1402 # In the base package they can 'use' a fake approval view 1403 1403 self.browser.open(payment_url + '/fake_approve') 1404 self.assertMatches('... Successful payment...',1404 self.assertMatches('...Payment approved...', 1405 1405 self.browser.contents) 1406 1406 expected = '''... … … 1484 1484 self.assertEqual(len(self.app['accesscodes']['SFE-0']),0) 1485 1485 self.browser.open(self.browser.url + '/fake_approve') 1486 self.assertMatches('... Successful payment...',1486 self.assertMatches('...Payment approved...', 1487 1487 self.browser.contents) 1488 1488 … … 1548 1548 self.assertEqual(len(self.app['accesscodes']['SFE-0']),0) 1549 1549 self.browser.open(self.browser.url + '/fake_approve') 1550 self.assertMatches('... Successful payment...',1550 self.assertMatches('...Payment approved...', 1551 1551 self.browser.contents) 1552 1552
Note: See TracChangeset for help on using the changeset viewer.