Changeset 9705 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 21 Nov 2012, 20:54:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9690 r9705 1790 1790 self.browser.getControl("Login").click() 1791 1791 self.assertMatches( 1792 '...Your account has been deactivated...', self.browser.contents) 1792 '...<div class="alert-message warning">' 1793 'Your account has been deactivated.</div>...', self.browser.contents) 1794 # If suspended_comment is set this message will be flashed instead 1795 self.student.suspended_comment = u'Aetsch baetsch!' 1796 self.browser.getControl(name="form.login").value = self.student_id 1797 self.browser.getControl(name="form.password").value = 'spwd' 1798 self.browser.getControl("Login").click() 1799 self.assertMatches( 1800 '...<div class="alert-message warning">Aetsch baetsch!</div>...', 1801 self.browser.contents) 1793 1802 self.student.suspended = False 1794 1803 # Students can't login if a temporary password has been set and
Note: See TracChangeset for help on using the changeset viewer.