Ignore:
Timestamp:
20 Oct 2019, 19:15:48 (5 years ago)
Author:
Henrik Bettermann
Message:

Enable signatures on course registration slip.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r15664 r15694  
    27362736        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    27372737        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
    27382741        # Students can remove course tickets
    27392742        self.browser.open(self.student_path + '/studycourse/200/edit')
Note: See TracChangeset for help on using the changeset viewer.