- Timestamp:
- 12 Dec 2019, 16:40:37 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r15827 r15887 394 394 self.assertEqual(self.browser.headers['Status'], '200 Ok') 395 395 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 396 path = os.path.join(samples_dir(), 'admission_slip_combined.pdf') 397 open(path, 'wb').write(self.browser.contents) 398 print "Sample PDF admission_slip_combined.pdf written to %s" % path 399 self.certificate.study_mode = 'pd_ft' 400 self.browser.open(self.student_path) 401 self.browser.getLink("Download admission letter").click() 396 402 path = os.path.join(samples_dir(), 'admission_slip.pdf') 397 403 open(path, 'wb').write(self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.