Changeset 7028 for main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Timestamp:
- 8 Nov 2011, 07:21:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r7027 r7028 700 700 payment_url = self.browser.url 701 701 702 # The pdf payment receipt can't yet be opened 703 self.browser.open(payment_url + '/payment_receipt.pdf') 704 self.assertMatches('...Ticket not yet paid...', 705 self.browser.contents) 706 702 707 # The same payment ticket (with same p_item, p_session and p_category) 703 708 # can't be added twice. … … 721 726 722 727 # Managers can open the pdf payment receipt 723 self.browser. open(payment_url + '/payment_receipt.pdf')728 self.browser.getLink("Download payment receipt").click() 724 729 self.assertEqual(self.browser.headers['Status'], '200 Ok') 725 730 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
Note: See TracChangeset for help on using the changeset viewer.