Changeset 9569 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 7 Nov 2012, 14:09:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9566 r9569 1659 1659 def test_student_change_password(self): 1660 1660 # Students can change the password 1661 self.student.personal_updated = datetime.utcnow() 1661 1662 self.browser.open(self.login_path) 1662 1663 self.browser.getControl(name="form.login").value = self.student_id … … 2487 2488 def test_student_expired_personal_data(self): 2488 2489 # Login 2490 IWorkflowState(self.student).setState('school fee paid') 2489 2491 delta = timedelta(days=180) 2490 2492 self.student.personal_updated = datetime.utcnow() - delta … … 2510 2512 self.assertEqual(self.browser.url, self.edit_personal_path) 2511 2513 self.assertTrue( 2512 'Your personal data record expired' in self.browser.contents)2514 'Your personal data record is outdated.' in self.browser.contents) 2513 2515 2514 2516 class StudentRequestPWTests(StudentsFullSetup):
Note: See TracChangeset for help on using the changeset viewer.