Ignore:
Timestamp:
12 Jun 2012, 07:17:01 (13 years ago)
Author:
Henrik Bettermann
Message:

Add hostel allocation start end end date attributes to hostels.

Move hostel allocation parameters from configuration to hostels. AccommodationOfficer? must be able to edit these parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r8642 r8685  
    172172
    173173        # Configure university
    174         self.app['configuration'].accommodation_states = ['admitted']
    175         self.app['configuration'].accommodation_session = 2004
     174        self.app['hostels'].accommodation_states = ['admitted']
     175        self.app['hostels'].accommodation_session = 2004
    176176        self.app['configuration'].carry_over = True
    177177        configuration = createObject('waeup.SessionConfiguration')
     
    16011601        self.browser.getControl(name="form.p_category").value = ['bed_allocation']
    16021602        # If student is not in accommodation session, payment cannot be processed
    1603         self.app['configuration'].accommodation_session = 2011
     1603        self.app['hostels'].accommodation_session = 2011
    16041604        self.browser.getControl("Create ticket").click()
    16051605        self.assertMatches('...Your current session does not match...',
    16061606                           self.browser.contents)
    1607         self.app['configuration'].accommodation_session = 2004
     1607        self.app['hostels'].accommodation_session = 2004
    16081608        self.browser.getControl("Add online payment ticket").click()
    16091609        self.browser.getControl(name="form.p_category").value = ['bed_allocation']
Note: See TracChangeset for help on using the changeset viewer.