Changeset 15827 for main/waeup.fceokene/trunk/src/waeup/fceokene/students
- Timestamp:
- 19 Nov 2019, 13:08:27 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r15594 r15827 108 108 self.assertMatches('...Amount Authorized...', 109 109 self.browser.contents) 110 # Managers can open payment slip 111 self.browser.getLink("Download payment slip").click() 112 self.assertEqual(self.browser.headers['Status'], '200 Ok') 113 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 110 # Managers can open payment slip because we did not proceed to 111 # any payment gateway 112 self.assertFalse('Download payment slip' in self.browser.contents) 114 113 # Set ticket paid 115 114 ticket = self.student['payments'].items()[0][1]
Note: See TracChangeset for help on using the changeset viewer.