Changeset 15694 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 20 Oct 2019, 19:15:48 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r15664 r15694 2736 2736 self.assertEqual(self.browser.headers['Status'], '200 Ok') 2737 2737 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 2738 path = os.path.join(samples_dir(), 'course_registration_slip.pdf') 2739 open(path, 'wb').write(self.browser.contents) 2740 print "Sample PDF course_registration_slip.pdf written to %s" % path 2738 2741 # Students can remove course tickets 2739 2742 self.browser.open(self.student_path + '/studycourse/200/edit')
Note: See TracChangeset for help on using the changeset viewer.