Ignore:
Timestamp:
28 Sep 2020, 17:36:31 (4 years ago)
Author:
Henrik Bettermann
Message:

Students must fill personal data form also when they are in state admitted.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 edited

Legend:

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

    r15609 r16248  
    272272    @property
    273273    def personal_data_expired(self):
    274         if self.state in (CREATED, ADMITTED,):
    275             return False
     274        #if self.state in (CREATED, ADMITTED,):
     275        #    return False
    276276        now = datetime.utcnow()
    277277        if self.personal_updated is None:
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r16234 r16248  
    26192619        self.browser.getControl(name="form.password").value = 'spwd'
    26202620        self.browser.getControl("Login").click()
     2621        self.browser.getLink("Base Data").click()
    26212622        self.assertTrue('XXX: Base Data' in self.browser.contents)
    26222623        self.assertTrue('<TAG>Tester</TAG>' in self.browser.contents)
     
    26692670            name="form.password").value = self.existing_pwdnumber
    26702671        self.browser.getControl("Login").click()
    2671         self.assertEqual(self.browser.url, student_path)
     2672        self.assertEqual(self.browser.url, student_path + '/edit_personal')
    26722673        self.assertTrue('You logged in' in self.browser.contents)
    26732674        return
Note: See TracChangeset for help on using the changeset viewer.