Ignore:
Timestamp:
7 Nov 2012, 14:09:50 (12 years ago)
Author:
Henrik Bettermann
Message:

Activate personal data expiration checker.

File:
1 edited

Legend:

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

    r9566 r9569  
    16591659    def test_student_change_password(self):
    16601660        # Students can change the password
     1661        self.student.personal_updated = datetime.utcnow()
    16611662        self.browser.open(self.login_path)
    16621663        self.browser.getControl(name="form.login").value = self.student_id
     
    24872488    def test_student_expired_personal_data(self):
    24882489        # Login
     2490        IWorkflowState(self.student).setState('school fee paid')
    24892491        delta = timedelta(days=180)
    24902492        self.student.personal_updated = datetime.utcnow() - delta
     
    25102512        self.assertEqual(self.browser.url, self.edit_personal_path)
    25112513        self.assertTrue(
    2512             'Your personal data record expired' in self.browser.contents)
     2514            'Your personal data record is outdated.' in self.browser.contents)
    25132515
    25142516class StudentRequestPWTests(StudentsFullSetup):
Note: See TracChangeset for help on using the changeset viewer.