Changeset 16355 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 15 Dec 2020, 11:09:15 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r16354 r16355 655 655 self.assertTrue('ticket created' in self.browser.contents) 656 656 value = self.student['payments'].keys()[0] 657 self.student['payments'][value].p_state = 'paid' 657 658 self.browser.getLink(value).click() 658 659 self.assertTrue('Amount Authorized' in self.browser.contents) … … 660 661 self.assertEqual(self.student['payments'][value].amount_auth, 51900.0) 661 662 self.student['payments'][value].r_company = u'interswitch' 662 self.browser. open(self.browser.url + '/payment_slip.pdf')663 self.browser.getLink("Download").click() 663 664 self.assertEqual(self.browser.headers['Status'], '200 Ok') 664 665 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
Note: See TracChangeset for help on using the changeset viewer.