- Timestamp:
- 15 Feb 2013, 09:47:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py
r9943 r9953 314 314 name='upload_passportuploadedit').click() 315 315 self.browser.open(self.student_path + '/start_clearance') 316 # In Okene the students can just start clearance without entering317 # an activation code.316 # In Okene the ug students start clearance with activation code ... 317 self.assertTrue('Activation Code:' in self.browser.contents) 318 318 self.browser.getControl("Start clearance now").click() 319 self.assertMatches('...Clearance process has been started...', 320 self.browser.contents) 319 self.assertTrue('Activation code is invalid' in self.browser.contents) 320 # ... and nce students without. 321 self.certificate.study_mode = 'nce_ft' 322 self.browser.open(self.student_path + '/start_clearance') 323 self.assertFalse('Activation Code:' in self.browser.contents) 324 self.browser.getControl("Start clearance now").click() 325 self.assertTrue( 326 'Clearance process has been started' in self.browser.contents) 321 327 322 328 def test_student_accommodation(self):
Note: See TracChangeset for help on using the changeset viewer.