Changeset 9191 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 16 Sep 2012, 19:23:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9183 r9191 1192 1192 self.assertTrue( 1193 1193 'You logged in.' in self.browser.contents) 1194 # Student can upload a passport picture1194 # Admitted student can upload a passport picture 1195 1195 self.browser.open(self.student_path + '/change_portrait') 1196 1196 ctrl = self.browser.getControl(name='passportuploadedit') … … 1203 1203 '<img align="middle" height="125px" src="passport.jpg" />' 1204 1204 in self.browser.contents) 1205 # Students can open admission letter 1206 self.browser.getLink("Base Data").click() 1207 self.browser.getLink("Download admission letter").click() 1208 self.assertEqual(self.browser.headers['Status'], '200 Ok') 1209 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 1205 1210 # Student can view the clearance data 1211 self.browser.open(self.student_path) 1206 1212 self.browser.getLink("Clearance Data").click() 1207 1213 # Student can't open clearance edit form before starting clearance
Note: See TracChangeset for help on using the changeset viewer.