Ignore:
Timestamp:
25 Nov 2022, 11:54:59 (22 months ago)
Author:
Henrik Bettermann
Message:

Allow students to book accommodation also if they are in previous sessions (not activated in base package).

File:
1 edited

Legend:

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

    r16834 r17176  
    14161416        self.app['hostels'].accommodation_session = 2011
    14171417        self.browser.getControl("Create ticket").click()
    1418         self.assertMatches('...Your current session does not match...',
     1418        self.assertMatches('...Your current session does not allow...',
    14191419                           self.browser.contents)
    14201420        self.app['hostels'].accommodation_session = 2004
     
    14391439        self.student['studycourse'].current_session = 2003
    14401440        self.browser.getControl("Book accommodation").click()
    1441         self.assertMatches('...Your current session does not match...',
    1442                            self.browser.contents)
     1441        self.assertMatches(
     1442            '...Your current session does not allow to book accommodation...',
     1443            self.browser.contents)
    14431444        self.student['studycourse'].current_session = 2004
    14441445        # All requirements are met and ticket can be created
Note: See TracChangeset for help on using the changeset viewer.