Changeset 8436 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 13 May 2012, 03:49:37 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r8434 r8436 472 472 # Managers can contact student 473 473 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 474 self.student.email = None 474 475 self.browser.open(self.student_path) 475 476 self.browser.getLink("Send email").click() 476 477 self.browser.getControl(name="form.subject").value = 'Important subject' 477 478 self.browser.getControl(name="form.body").value = 'Hello!' 479 self.browser.getControl("Send message now").click() 480 self.assertTrue('An smtp server error occurred' in self.browser.contents) 481 self.student.email = 'xx@yy.zz' 478 482 self.browser.getControl("Send message now").click() 479 483 self.assertTrue('Your message has been sent' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.