Changeset 14506 for main/waeup.aaue/trunk/src
- Timestamp:
- 5 Feb 2017, 08:01:42 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_level_report.py
r14428 r14506 31 31 self.assertEqual(result, 32 32 [(u'1234', u'TESTER, Bob', 30, 30, '5.000', 33 'N IL', 'NIL', 30, 30, '5.000', 'Proceed')])33 'Nil', 'Nil', 30, 30, '5.000', 'Proceed')]) 34 34 return 35 35 -
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/tests/test_raw_score_report.py
r14496 r14506 50 50 result = get_students('fac1', 'dep1', 'CERT1', 2010, 100, course_codes) 51 51 self.assertEqual(result, 52 [(u'1234', u'TESTER, Bob', {'Course1': ('N IL', '')})])52 [(u'1234', u'TESTER, Bob', {'Course1': ('Nil', '')})]) 53 53 return 54 54 -
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r14501 r14506 108 108 courses_not_taken += '%s ' % ticket.code 109 109 if not len(courses_failed): 110 courses_failed = 'N IL'110 courses_failed = 'Nil' 111 111 if not len(courses_not_taken): 112 courses_not_taken = 'N IL'112 courses_not_taken = 'Nil' 113 113 return (passed, failed, credits_passed, 114 114 credits_failed, courses_failed, … … 197 197 return 'FRNS' 198 198 if len(self.passed_params[5]) \ 199 and not self.passed_params[5] == 'N IL':199 and not self.passed_params[5] == 'Nil': 200 200 return 'FRNS' 201 201 if self.cumulative_params[0] < failed_limit: -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r14487 r14506 85 85 return 0 86 86 if len(not_taken_courses) \ 87 and not not_taken_courses == 'N IL':87 and not not_taken_courses == 'Nil': 88 88 return 0 89 89 elif level_obj.gpa_params[1] < 30:
Note: See TracChangeset for help on using the changeset viewer.