Ignore:
Timestamp:
14 Oct 2015, 10:07:06 (9 years ago)
Author:
Henrik Bettermann
Message:

Add current level on bed allocation slip.

File:
1 edited

Legend:

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

    r13309 r13317  
    10101010        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    10111011        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
     1012        path = os.path.join(samples_dir(), 'bed_allocation_slip.pdf')
     1013        open(path, 'wb').write(self.browser.contents)
     1014        print "Sample PDF bed_allocation_slip.pdf written to %s" % path
    10121015        # Students can't relocate themselves.
    10131016        self.assertFalse('Relocate' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.