Changeset 7348 for main/waeup.sirp/trunk/src
- Timestamp:
- 15 Dec 2011, 06:25:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r7322 r7348 325 325 # Change course_admitted 326 326 self.browser.open(self.manage_path) 327 self.browser.getControl(name="form.course_admitted").value = [ ]327 self.browser.getControl(name="form.course_admitted").value = ['CERT1'] 328 328 self.browser.getControl("Save").click() 329 329 self.assertMatches('...Form has been saved...', self.browser.contents) … … 341 341 self.assertEqual(self.browser.headers['Status'], '200 Ok') 342 342 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 343 # Managers can view applicants even if certificate has been removed 344 del self.app['faculties']['fac1']['dep1'].certificates['CERT1'] 345 self.browser.open(self.view_path) 346 self.assertEqual(self.browser.headers['Status'], '200 Ok') 347 self.browser.open(self.slip_path) 348 self.assertEqual(self.browser.headers['Status'], '200 Ok') 343 349 return 344 350
Note: See TracChangeset for help on using the changeset viewer.