Changeset 10553 for main/waeup.kofa/trunk/src/waeup/kofa/students/reports
- Timestamp:
- 29 Aug 2013, 05:24:10 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students/reports
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py
r10552 r10553 54 54 if level_obj.level_session != session: 55 55 continue 56 passed_params = level_obj.passed_params 56 57 line = (stud.student_id, 57 58 stud.matric_number, 58 59 stud.display_fullname, 59 60 level_obj.total_credits, 60 level_obj.gpa) 61 passed_params[2], 62 level_obj.gpa, 63 passed_params[4], 64 ) 61 65 table.append(line) 62 66 return table -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_level_report.py
r10552 r10553 19 19 result = get_students_by('fac1', 'dep1', 2010, 100) 20 20 self.assertEqual(result, 21 [(u'K1000000', u'1234', u'Bob Tester', 30, 5.0)])21 [(u'K1000000', u'1234', u'Bob Tester', 30, 30, 5.0, [])]) 22 22 return
Note: See TracChangeset for help on using the changeset viewer.