Ignore:
Timestamp:
8 Jan 2019, 17:56:31 (6 years ago)
Author:
Henrik Bettermann
Message:

Change matric number construction algorithm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/tests/test_utils.py

    r15176 r15284  
    4141        self.certificate.study_mode ='nd_ft'
    4242        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')
    4444        self.assertEqual(msg, None)
    4545        # hnd_ft
     
    4747        self.certificate.study_mode ='hnd_ft'
    4848        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')
    5050        self.assertEqual(msg, None)
    5151        # nd_pt
     
    5353        self.certificate.study_mode ='nd_pt'
    5454        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')
    5656        self.assertEqual(msg, None)
    5757        return
Note: See TracChangeset for help on using the changeset viewer.