Changeset 9022 for main/waeup.kofa/trunk/src/waeup/kofa/utils/tests
- Timestamp:
- 19 Jul 2012, 07:11:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_browser.py
r9012 r9022 41 41 42 42 def test_replace_student_messages(self): 43 self.assertTrue(' Student record created by system' in43 self.assertTrue('Record created by system' in 44 44 self.student.history.messages[0]) 45 45 replaceStudentMessages('system', 'me') 46 self.assertTrue(' Student record created by me' in46 self.assertTrue('Record created by me' in 47 47 self.student.history.messages[0]) 48 48 49 49 def test_modify_all_student_history(self): 50 self.assertTrue(' Student record created by system' in50 self.assertTrue('Record created by system' in 51 51 self.student.history.messages[0]) 52 52 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') … … 58 58 'http://localhost/app/modify_student_history?old=by system&new=by me') 59 59 self.assertTrue('Finished' in self.browser.contents) 60 self.assertTrue(' Student record created by me' in60 self.assertTrue('Record created by me' in 61 61 self.student.history.messages[0]) 62 62
Note: See TracChangeset for help on using the changeset viewer.