Changeset 10018
- Timestamp:
- 12 Mar 2013, 20:26:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r10012 r10018 342 342 'Clearance process has been started' in self.browser.contents) 343 343 344 def test_open_slips(self): 345 # Managers can add online clearance slip 346 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 347 self.browser.open(self.student_path + '/view_clearance') 348 self.browser.getLink("Download clearance slip").click() 349 self.assertEqual(self.browser.headers['Status'], '200 Ok') 350 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 351 344 352 def test_student_accommodation(self): 345 353 del self.student['accommodation']['2004']
Note: See TracChangeset for help on using the changeset viewer.