Changeset 10656 for main/waeup.aaue/trunk
- Timestamp:
- 27 Sep 2013, 09:52:51 (11 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r10443 r10656 96 96 self.assertEqual(self.student['studycourse']['100'].gpa_params[2], 82.0) 97 97 # sgpa = 82 / 23 98 self.assertEqual(self.student['studycourse']['100'].gpa_params[0], 3.5 7)98 self.assertEqual(self.student['studycourse']['100'].gpa_params[0], 3.565) 99 99 return 100 100 … … 264 264 self.student['studycourse'].current_verdict = 'C' 265 265 self.assertEqual(utils.getReturningData(self.student),(2005, 110)) 266 self.student['studycourse'].current_verdict = ' D'266 self.student['studycourse'].current_verdict = 'NEOR' 267 267 self.assertEqual(utils.getReturningData(self.student),(2005, 100)) 268 268 return -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r10641 r10656 28 28 29 29 """ 30 31 VERDICTS_DICT = { 32 '0': 'not yet', 33 'A': 'Successful student', 34 'B': 'Student with carryover courses', 35 'C': 'Student on probation', 36 #'D': 'Withdrawn from the faculty', 37 #'E': 'Student who were previously on probation', 38 #'F': 'Medical case', 39 #'G': 'Absent from examination', 40 #'H': 'Withheld results', 41 #'I': 'Expelled/rusticated/suspended student', 42 #'J': 'Temporary withdrawn from the university', 43 #'K': 'Unregistered student', 44 #'L': 'Referred student', 45 #'M': 'Reinstatement', 46 #'N': 'Student on transfer', 47 #'O': 'NCE-III repeater', 48 #'Y': 'No previous verdict', 49 #'X': 'New 300 level student', 50 'Z': 'Successful student (provisional)', 51 #'A1': 'First Class', 52 #'A2': 'Second Class Upper', 53 #'A3': 'Second Class Lower', 54 #'A4': 'Third Class', 55 #'A5': 'Pass', 56 #'A6': 'Distinction', 57 #'A7': 'Credit', 58 #'A8': 'Merit', 59 'NEOR': 'No evidence of registration', 60 'NEOV': 'No evidence of verification', 61 'FRNS': 'Faculty requirements not satisfied', 62 } 30 63 31 64 gpa_boundaries = ((1, 'FRNS'),
Note: See TracChangeset for help on using the changeset viewer.