Changeset 9532 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 5 Nov 2012, 07:19:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9521 r9532 725 725 self.browser.getControl("Add course ticket").click() 726 726 self.browser.getControl(name="form.course").value = ['COURSE1'] 727 self.course.credits = 100 728 self.browser.getControl("Add course ticket").click() 729 self.assertMatches( 730 '...Total credits exceed 58...', self.browser.contents) 731 self.course.credits = 10 727 732 self.browser.getControl("Add course ticket").click() 728 733 self.assertTrue('Successfully added' in self.browser.contents) … … 1873 1878 self.browser.getControl("Add course ticket").click() 1874 1879 self.browser.getControl(name="form.course").value = ['COURSE1'] 1880 self.course.credits = 100 1881 self.browser.getControl("Add course ticket").click() 1882 self.assertMatches( 1883 '...Your total credits exceed 58...', self.browser.contents) 1884 self.course.credits = 10 1875 1885 self.browser.getControl("Add course ticket").click() 1876 1886 self.assertMatches('...The ticket exists...',
Note: See TracChangeset for help on using the changeset viewer.