Changeset 9485 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 31 Oct 2012, 16:23:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9484 r9485 1256 1256 self.assertTrue('Student is in wrong state' 1257 1257 in self.browser.contents) 1258 # The CO can go to his department throug the my_roles page 1258 # The CO can go to his department throug the my_roles page ... 1259 1259 self.browser.open('http://localhost/app/users/mrclear/my_roles') 1260 1260 self.browser.getLink("http://localhost/app/faculties/fac1/dep1").click() 1261 # and view the list of students1261 # ... and view the list of students 1262 1262 self.browser.getLink("Show students").click() 1263 1263 self.assertTrue(self.student_id in self.browser.contents) 1264 1265 1264 # The comment is indicated by 'yes' 1265 self.assertTrue('<td><span>yes</span></td>' in self.browser.contents) 1266 1266 # When a student is cleared the comment is automatically deleted 1267 1267 IWorkflowInfo(self.student).fireTransition('request_clearance') 1268 1268 IWorkflowInfo(self.student).fireTransition('clear') 1269 1269 self.assertEqual(self.student.clearance_comment, None) 1270 1271 1270 1272 1271 def test_handle_courses_by_ca(self):
Note: See TracChangeset for help on using the changeset viewer.