Changeset 15508 for main/waeup.kofa/trunk
- Timestamp:
- 22 Jul 2019, 19:28:47 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r15423 r15508 2600 2600 self.assertEqual(self.browser.headers['Status'], '200 Ok') 2601 2601 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 2602 path = os.path.join(samples_dir(), 'admission_slip.pdf') 2603 open(path, 'wb').write(self.browser.contents) 2604 print "Sample PDF admission_slip.pdf written to %s" % path 2602 2605 # Student can view the clearance data 2603 2606 self.browser.open(self.student_path)
Note: See TracChangeset for help on using the changeset viewer.