Ignore:
Timestamp:
22 Jul 2019, 19:28:47 (5 years ago)
Author:
Henrik Bettermann
Message:

Extend test.

File:
1 edited

Legend:

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

    r15423 r15508  
    26002600        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    26012601        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
    26022605        # Student can view the clearance data
    26032606        self.browser.open(self.student_path)
Note: See TracChangeset for help on using the changeset viewer.