Changeset 6638 for main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Timestamp:
- 27 Aug 2011, 14:14:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r6637 r6638 200 200 self.assertEqual(self.browser.headers['Status'], '200 Ok') 201 201 self.assertEqual(self.browser.url, self.manage_student_path) 202 # Managers can fire transitions 203 self.browser.getControl(name="transition").value = ['admit'] 204 self.browser.getControl("Save").click() 205 self.assertTrue('Form has been saved' in self.browser.contents) 202 206 203 207 self.browser.open(self.student_path) … … 236 240 self.assertEqual(self.browser.headers['Status'], '200 Ok') 237 241 self.assertEqual(self.browser.url, self.history_student_path) 238 self.assertMatches('...Student object created by system...', self.browser.contents)242 self.assertMatches('...Student admitted by system...', self.browser.contents) 239 243 240 244 return
Note: See TracChangeset for help on using the changeset viewer.