Changeset 15376 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 1 Apr 2019, 11:57:40 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py
r15368 r15376 213 213 self.assertEqual(self.student.matric_number, 'PTP/fac1/dep1/04/00001') 214 214 self.assertEqual(site['configuration'].next_matric_integer, 2) 215 # SHS have an extended matric number with leading 'SHS'215 # DSH have an extended matric number with leading 'DSH' 216 216 # and same counter as PTP. 217 217 self.student.matric_number = None 218 self.student['studycourse'].certificate.study_mode = ' shs'219 msg, mnumber = utils.setMatricNumber(self.student) 220 self.assertEqual(self.student.matric_number, ' SHS/fac1/dep1/04/00002')218 self.student['studycourse'].certificate.study_mode = 'dsh' 219 msg, mnumber = utils.setMatricNumber(self.student) 220 self.assertEqual(self.student.matric_number, 'DSH/fac1/dep1/04/00002') 221 221 self.assertEqual(site['configuration'].next_matric_integer, 3) 222 222 # Students in faculty FBM get an extended matric number with leading 'CMS'
Note: See TracChangeset for help on using the changeset viewer.