Changeset 9688 for main/waeup.uniben/trunk/src/waeup/uniben/students/tests
- Timestamp:
- 19 Nov 2012, 18:19:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r9686 r9688 342 342 # A level with one course ticket was created 343 343 self.assertEqual(self.student['studycourse']['100'].number_of_tickets, 1) 344 self.student['studycourse']['100']['COURSE1'].score = 55 344 345 self.browser.getLink("100").click() 346 # GPA has been properly calculated and is shown on the page 347 self.assertTrue('3.00' in self.browser.contents) 348 self.assertEqual(self.student['studycourse']['100'].gpa, 3.0) 349 # Score is not shown but grade 345 350 self.assertTrue('<th>Grade</th>' in self.browser.contents) 346 351 self.assertFalse('<th>Score</th>' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.