- Timestamp:
- 3 Sep 2026, 06:53:28 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/reports/tests/test_level_report.py
r18317 r18323 30 30 def test_get_students(self): 31 31 self.student['studycourse']['100']['Course1'].ca = 0 32 self.student.sex = 'm' 32 33 lr = GradLevelReport('fac1', 'dep1', 'CERT1', 2010, 100) 33 34 # this is not a graduating student … … 41 42 result = lr._get_students('fac1', 'dep1', 'CERT1', 2010, 100) 42 43 self.assertEqual(result, 43 [(u'1234', u'TESTER, Bob', 91, 91, '5.00',44 [(u'1234', u'TESTER, Bob', 'm', 91, 91, '5.00', 44 45 'Nil', 'Nil', 91, 91, 77,'5.00', '1s_st_s')]) 45 46 return … … 48 49 self.student['studycourse']['100']['Course1'].ca = 0 49 50 self.student['studycourse']['100']['Course1'].credits = 146 51 self.student.sex = 'm' 50 52 self.certificate.end_level = 100 51 53 self.certificate.custom_float_1 = 145.6 … … 63 65 self.student['studycourse']['100']['Course1'].ca = 0 64 66 self.student['studycourse']['100']['Course1'].credits = 91 67 self.student.sex = 'm' 65 68 self.certificate.end_level = 100 66 69 self.certificate.custom_float_1 = 77 … … 79 82 self.student['studycourse']['100']['Course1'].ca = 0 80 83 self.student['studycourse']['100']['Course1'].credits = 91 84 self.student.sex = 'm' 81 85 self.certificate.end_level = 100 82 86 self.certificate.custom_float_1 = 77
Note: See TracChangeset for help on using the changeset viewer.
