Changeset 9021 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 18 Jul 2012, 20:24:55 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9011 r9021 922 922 self.assertTrue('clearance started' in self.browser.contents) 923 923 self.browser.open(self.history_path) 924 self.assertTrue("Reset to 'clearance ' by My Public Name" in924 self.assertTrue("Reset to 'clearance started' by My Public Name" in 925 925 self.browser.contents) 926 926 IWorkflowInfo(self.student).fireTransition('request_clearance') … … 1304 1304 self.assertEqual(self.student.state, 'courses registered') 1305 1305 return 1306 1307 def test_student_clearance_wo_clrcode(self): 1308 IWorkflowState(self.student).setState('clearance started') 1309 self.browser.open(self.login_path) 1310 self.browser.getControl(name="form.login").value = self.student_id 1311 self.browser.getControl(name="form.password").value = 'spwd' 1312 self.browser.getControl("Login").click() 1313 self.student.clearance_locked = False 1314 self.browser.open(self.edit_clearance_path) 1315 self.browser.getControl(name="form.date_of_birth").value = '09/10/1961' 1316 self.browser.getControl("Save and request clearance").click() 1317 self.assertMatches('...Clearance has been requested...', 1318 self.browser.contents) 1306 1319 1307 1320 def test_manage_payments(self):
Note: See TracChangeset for help on using the changeset viewer.