Ignore:
Timestamp:
30 Aug 2012, 06:08:34 (12 years ago)
Author:
Henrik Bettermann
Message:

Display appropriate flash message if credentials are correct
but student has been deactivated/suspended.

File:
1 edited

Legend:

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

    r9030 r9123  
    11631163        # and can perform actions
    11641164        IWorkflowInfo(self.student).fireTransition('admit')
    1165         # Students can't login if their account is suspended
     1165        # Students can't login if their account is suspended/deactivated
    11661166        self.student.suspended = True
    11671167        self.browser.open(self.login_path)
     
    11701170        self.browser.getControl("Login").click()
    11711171        self.assertTrue(
    1172             'You entered invalid credentials.' in self.browser.contents)
     1172            'Your account has been deactivated.' in self.browser.contents)
    11731173        self.student.suspended = False
    11741174        self.browser.getControl("Login").click()
Note: See TracChangeset for help on using the changeset viewer.