Index: main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py	(revision 15234)
+++ main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py	(revision 15250)
@@ -3270,4 +3270,5 @@
         bed.bed_type = u'regular_female_fr'
         self.app['hostels'][hostel.hostel_id].addBed(bed)
+        self.app['hostels'].allocation_expiration = 7
 
         self.browser.open(self.login_path)
@@ -3373,4 +3374,7 @@
         self.assertEqual(self.browser.headers['Status'], '200 Ok')
         self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
+        path = os.path.join(samples_dir(), 'bed_allocation_slip.pdf')
+        open(path, 'wb').write(self.browser.contents)
+        print "Sample PDF bed_allocation_slip.pdf written to %s" % path
         # Students can't relocate themselves.
         self.assertFalse('Relocate' in self.browser.contents)
