Changeset 13315 for main/waeup.kofa
- Timestamp:
- 14 Oct 2015, 06:56:25 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/hostels/tests.py
r13276 r13315 317 317 self.student['accommodation'].addBedTicket(bedticket) 318 318 self.app['hostels']['hall-1']['hall-1_A_101_D'].owner = self.student_id 319 notify(grok.ObjectModifiedEvent(self.app['hostels']['hall-1']['hall-1_A_101_D'])) 319 320 self.browser.open(self.container_path + '/hall-1/manage') 320 321 ctrl = self.browser.getControl(name='val_id') … … 329 330 self.assertMatches(bedticket.bed_coordinates, 330 331 u' -- booking cancelled on <YYYY-MM-DD hh:mm:ss> UTC --') 331 # If we release a free be, nothing will happen. 332 # The catalog was updated. 333 results = cat.searchResults(owner=(self.student_id, self.student_id)) 334 assert len(results) == 0 335 # If we release a free bed, nothing will happen. 332 336 ctrl = self.browser.getControl(name='val_id') 333 337 ctrl.getControl(value='hall-1_A_101_D').selected = True
Note: See TracChangeset for help on using the changeset viewer.