Ignore:
Timestamp:
6 Nov 2012, 20:29:35 (12 years ago)
Author:
Henrik Bettermann
Message:

We need a special interface for the StudentPersonalEditFormPage?. Some fields on this form are required.

File:
1 edited

Legend:

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

    r9559 r9563  
    488488        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    489489        self.assertEqual(self.browser.url, self.edit_personal_path)
     490        self.browser.getControl("Save").click()
     491        # perm_address is required in IStudentPersonalEdit
     492        self.assertMatches('...Required input is missing...',
     493                           self.browser.contents)
     494        self.browser.getControl(name="form.perm_address").value = 'My address!'
    490495        self.browser.getControl("Save").click()
    491496        self.assertMatches('...Form has been saved...',
Note: See TracChangeset for help on using the changeset viewer.