Changeset 12122 for main/waeup.uniben/trunk/src/waeup/uniben/students/tests
- Timestamp:
- 3 Dec 2014, 06:43:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r12121 r12122 171 171 attr="secr_cults.jpg") 172 172 file_store.createFile(file_id, StringIO(secr_cults)) 173 # Clearance invitation letter is not yet available 174 self.browser.open(self.clearance_path) 175 self.assertFalse('invitation slip' in self.browser.contents) 176 self.browser.open(self.student_path + '/clearance_invitation_slip.pdf') 177 self.assertTrue('Forbidden' in self.browser.contents) 173 178 self.browser.open(self.edit_clearance_path) 174 179 self.browser.getControl("Save and request clearance").click() 175 176 180 self.assertTrue('Clearance has been requested' 177 181 in self.browser.contents) 178 # Student can export physical_clearance.slip182 # Now student can export physical_clearance.slip 179 183 self.app['configuration'].name = u'University of Benin' 180 184 self.student.physical_clearance_date = u'January 5th, 2015'
Note: See TracChangeset for help on using the changeset viewer.