Changeset 14505 for main/waeup.kofa/trunk/src
- Timestamp:
- 5 Feb 2017, 08:00:47 (8 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students/reports
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/raw_score_report.py
r14497 r14505 87 87 scores[ticket.code] = (ticket.total_score, ticket.grade) 88 88 else: 89 scores[ticket.code] = ('N IL', '')89 scores[ticket.code] = ('Nil', '') 90 90 fullname = textwrap.fill(stud.display_fullname, 26) 91 91 line = ( -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py
r14502 r14505 201 201 gpa_class_data = self.data[gpa_class] 202 202 else: 203 gpa_class_data = [('', '- N IL-', '')]203 gpa_class_data = [('', '- Nil -', '')] 204 204 table_data = [('Student Id', 'Matric No.', 205 205 translate(_('Student Name')))] + gpa_class_data -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_raw_score_report.py
r14495 r14505 50 50 result = get_students('fac1', 'dep1', 'CERT1', 2010, 100, course_codes) 51 51 self.assertEqual(result, 52 [(u'1234', u'Bob Tester', {'Course1': ('N IL', '')})])52 [(u'1234', u'Bob Tester', {'Course1': ('Nil', '')})]) 53 53 return 54 54
Note: See TracChangeset for help on using the changeset viewer.