Ignore:
Timestamp:
16 Aug 2023, 09:24:29 (14 months ago)
Author:
Henrik Bettermann
Message:

Implement medical examination form.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/hostels/tests.py

    r15251 r17542  
    4747        self.student['accommodation'].addBedTicket(bedticket)
    4848        self.app[
    49             'hostels']['hall-x']['hall_block_room_bed'].owner = self.student_id
     49            'hostels']['hall-x']['hall-x_block_room_bed'].owner = self.student_id
    5050        notify(grok.ObjectModifiedEvent(
    51             self.app['hostels']['hall-x']['hall_block_room_bed']))
     51            self.app['hostels']['hall-x']['hall-x_block_room_bed']))
    5252        results = cat.searchResults(owner=(self.student_id, self.student_id))
    5353        self.assertEqual(len(results), 1)
     
    5858        self.browser.open(self.container_path + '/releaseexpired')
    5959        self.assertTrue(
    60             'Successfully released beds: hall_block_room_bed (B1000000)'
     60            'Successfully released beds: hall-x_block_room_bed (B1000000)'
    6161            in self.browser.contents)
    6262        results = cat.searchResults(owner=(self.student_id, self.student_id))
     
    6565            '-- booking expired (2015-10-14 08:35:38 WAT) --')
    6666        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,
    6868            NOT_OCCUPIED)
    6969        # Releasing is logged.
     
    7171        self.assertTrue(
    7272            'hostels.browser.ReleaseExpiredAllocationsPage - hostels - '
    73             'released: hall_block_room_bed (B1000000)'
     73            'released: hall-x_block_room_bed (B1000000)'
    7474            in logcontent)
    7575        return
Note: See TracChangeset for help on using the changeset viewer.