Changeset 17542 for main/waeup.uniben/trunk/src/waeup/uniben/hostels
- Timestamp:
- 16 Aug 2023, 09:24:29 (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/hostels/tests.py
r15251 r17542 47 47 self.student['accommodation'].addBedTicket(bedticket) 48 48 self.app[ 49 'hostels']['hall-x']['hall _block_room_bed'].owner = self.student_id49 'hostels']['hall-x']['hall-x_block_room_bed'].owner = self.student_id 50 50 notify(grok.ObjectModifiedEvent( 51 self.app['hostels']['hall-x']['hall _block_room_bed']))51 self.app['hostels']['hall-x']['hall-x_block_room_bed'])) 52 52 results = cat.searchResults(owner=(self.student_id, self.student_id)) 53 53 self.assertEqual(len(results), 1) … … 58 58 self.browser.open(self.container_path + '/releaseexpired') 59 59 self.assertTrue( 60 'Successfully released beds: hall _block_room_bed (B1000000)'60 'Successfully released beds: hall-x_block_room_bed (B1000000)' 61 61 in self.browser.contents) 62 62 results = cat.searchResults(owner=(self.student_id, self.student_id)) … … 65 65 '-- booking expired (2015-10-14 08:35:38 WAT) --') 66 66 self.assertEqual( 67 self.app['hostels']['hall-x']['hall _block_room_bed'].owner,67 self.app['hostels']['hall-x']['hall-x_block_room_bed'].owner, 68 68 NOT_OCCUPIED) 69 69 # Releasing is logged. … … 71 71 self.assertTrue( 72 72 'hostels.browser.ReleaseExpiredAllocationsPage - hostels - ' 73 'released: hall _block_room_bed (B1000000)'73 'released: hall-x_block_room_bed (B1000000)' 74 74 in logcontent) 75 75 return
Note: See TracChangeset for help on using the changeset viewer.