Changeset 10598 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 10 Sep 2013, 11:39:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r10586 r10598 814 814 self.assertMatches( 815 815 '...: Study Level 200 (Year 2)...', self.browser.contents) 816 # IfCOURSE1 has score 10 it becomes a carry-over course816 # Since COURSE1 has score 10 it becomes a carry-over course 817 817 # in level 200 818 818 self.assertEqual( … … 827 827 self.student['studycourse']['200'].passed_params, 828 828 (0, 0, 0, 0, [])) 829 # And also cumulative params can be calculated. Meanwhile we have the 830 # following courses: COURSE1 and COURSE2 in level 100 and 831 # COURSE1 as carry-over course in level 200. 832 self.assertEqual( 833 self.student['studycourse']['100'].cumulative_params, 834 (2.261, 23, 52.0, 23, 13)) 835 # COURSE1 in level 200 is not taken into consideration 836 # when calculating the gpa. 837 self.assertEqual( 838 self.student['studycourse']['200'].cumulative_params, 839 (2.261, 23, 52.0, 33, 13)) 829 840 return 830 841
Note: See TracChangeset for help on using the changeset viewer.