Index: main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
===================================================================
--- main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py	(revision 13406)
+++ main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py	(revision 13416)
@@ -25,4 +25,5 @@
 from mechanize import LinkNotFoundError
 from hurry.workflow.interfaces import IWorkflowState
+from zope.event import notify
 from zope.component.hooks import setSite, clearSite
 from zope.component import getUtility, createObject, queryUtility
@@ -549,4 +550,11 @@
     def test_student_accommodation(self):
         del self.student['accommodation']['2004']
+        # All beds can be assigned
+        bed1 = self.app['hostels']['hall-1']['hall-1_A_101_A']
+        bed1.bed_type = u'regular_male_all'
+        bed2 = self.app['hostels']['hall-1']['hall-1_A_101_B']
+        bed2.bed_type = u'regular_female_all'
+        notify(grok.ObjectModifiedEvent(bed1))
+        notify(grok.ObjectModifiedEvent(bed2))
         # Login
         self.browser.open(self.login_path)
@@ -563,5 +571,5 @@
         # one bed for this student, we know that
         self.assertEqual(self.student['accommodation']['2004'].bed_coordinates,
-            'Hall 1, Block A, Room 101, Bed A (regular_male_fr)')
+            'Hall 1, Block A, Room 101, Bed A (regular_male_all)')
         # Only the hall name is displayed
         self.assertEqual(self.student['accommodation']['2004'].display_coordinates,
