Changeset 15284 for main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/tests/test_utils.py
- Timestamp:
- 8 Jan 2019, 17:56:31 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/tests/test_utils.py
r15176 r15284 41 41 self.certificate.study_mode ='nd_ft' 42 42 msg, mnumber = utils.setMatricNumber(self.student) 43 self.assertEqual(self.student.matric_number, ' ESITM/fac1/dep1/04/00001')43 self.assertEqual(self.student.matric_number, 'fac1/ND/04/00001') 44 44 self.assertEqual(msg, None) 45 45 # hnd_ft … … 47 47 self.certificate.study_mode ='hnd_ft' 48 48 msg, mnumber = utils.setMatricNumber(self.student) 49 self.assertEqual(self.student.matric_number, ' ESITM/fac1/dep1/HND/04/00001')49 self.assertEqual(self.student.matric_number, 'fac1/HD/04/00001') 50 50 self.assertEqual(msg, None) 51 51 # nd_pt … … 53 53 self.certificate.study_mode ='nd_pt' 54 54 msg, mnumber = utils.setMatricNumber(self.student) 55 self.assertEqual(self.student.matric_number, ' ESITM/PT-ND/fac1/dep1/04/00001')55 self.assertEqual(self.student.matric_number, 'fac1/PT/04/00001') 56 56 self.assertEqual(msg, None) 57 57 return
Note: See TracChangeset for help on using the changeset viewer.