- Timestamp:
- 3 Sep 2011, 02:38:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r6652 r6667 201 201 self.browser.getControl(name="transition").value = ['admit'] 202 202 self.browser.getControl(name="form.name").value = 'John Tester' 203 self.browser.getControl(name="form.password").value = 'secret' 203 204 self.browser.getControl("Save").click() 204 205 self.assertTrue('Form has been saved' in self.browser.contents) … … 241 242 self.assertEqual(self.browser.headers['Status'], '200 Ok') 242 243 self.assertEqual(self.browser.url, self.history_student_path) 243 self.assertMatches('...Student admitted by zope.mgr...', self.browser.contents) 244 self.assertMatches('...Student admitted by zope.mgr...', 245 self.browser.contents) 244 246 245 247 return
Note: See TracChangeset for help on using the changeset viewer.