Changeset 7641 for main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Timestamp:
- 14 Feb 2012, 07:07:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r7639 r7641 271 271 self.browser.getControl(name="searchtype").value = ['student_id'] 272 272 self.browser.getControl(name="searchterm").value = self.student_id 273 self.browser.getControl("Search").click() 274 self.assertTrue('Anna Tester' in self.browser.contents) 275 276 # We can find a student in a certain session 277 self.browser.open(self.container_path) 278 self.browser.getControl(name="searchtype").value = ['current_session'] 279 self.browser.getControl(name="searchterm").value = '2004' 280 self.browser.getControl("Search").click() 281 self.assertTrue('Anna Tester' in self.browser.contents) 282 283 # We can find a student in a certain study_mode 284 self.browser.open(self.container_path) 285 self.browser.getControl(name="searchtype").value = ['current_mode'] 286 self.browser.getControl(name="searchterm").value = 'ug_ft' 273 287 self.browser.getControl("Search").click() 274 288 self.assertTrue('Anna Tester' in self.browser.contents) … … 598 612 self.assertEqual(self.browser.headers['Status'], '200 Ok') 599 613 self.assertEqual(self.browser.url, self.studycourse_student_path) 614 self.assertTrue('Undergraduate Full Time' in self.browser.contents) 600 615 self.browser.getLink("Manage").click() 601 616 self.assertTrue('Manage study course' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.