- Timestamp:
- 13 Jan 2017, 11:34:53 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_level_report.py
r14390 r14392 42 42 self.assertEqual(result, 43 43 [(u'1234', u'Bob Tester', 90, 30, '1.666', 44 'm_Course2_m Course3', 0, 90, 30, '1.666', '')])44 'm_Course2_m Course3', '', 90, 30, '1.666', '')]) 45 45 return 46 46 … … 59 59 ticket.credits = 30 60 60 ticket.score = 30 61 ticket.mandatory = False62 ticket.passmark = 4063 61 self.student['studycourse']['100']['Course3'] = ticket 62 ticket2 = createObject('waeup.CourseTicket') 63 ticket2.code = 'Course4' 64 ticket2.credits = 30 65 self.student['studycourse']['100']['Course4'] = ticket2 66 ticket3 = createObject('waeup.CourseTicket') 67 ticket3.code = 'Course5' 68 ticket3.credits = 30 69 self.student['studycourse']['100']['Course5'] = ticket3 70 ticket4 = createObject('waeup.CourseTicket') 71 ticket4.code = 'Course5' 72 ticket4.credits = 30 73 self.student['studycourse']['100']['Course6'] = ticket4 64 74 report = LevelReport('fac1', 'dep1', 2010, 100) 65 75 result = report.create_pdf('JOB_ID')
Note: See TracChangeset for help on using the changeset viewer.