Changeset 13317 for main/waeup.uniben/trunk/src/waeup/uniben/students/tests
- Timestamp:
- 14 Oct 2015, 10:07:06 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r13309 r13317 1010 1010 self.assertEqual(self.browser.headers['Status'], '200 Ok') 1011 1011 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 1012 1015 # Students can't relocate themselves. 1013 1016 self.assertFalse('Relocate' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.