Ignore:
Timestamp:
7 May 2015, 08:41:01 (10 years ago)
Author:
Henrik Bettermann
Message:

Matric number assignment is available only from session 2015/2016.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/university/tests.py

    r12907 r12911  
    3535        utils = getUtility(IStudentsUtils)
    3636        self.student.matric_number = None
     37        self.student['studycourse'].entry_session = 2015
    3738        IWorkflowState(self.student).setState('school fee paid')
    3839        msg, mnumber = utils.setMatricNumber(self.student)
     
    4041        self.assertEqual(mnumber, None)
    4142        self.student['studycourse'].entry_mode = 'nd_ft'
    42         self.student['studycourse'].entry_session = 2013
    4343        msg, mnumber = utils.setMatricNumber(self.student)
    4444        exporter = CustomDepartmentExporter()
     
    4949            'code,faculty_code,title,title_prefix,users_with_local_roles,'
    5050            'next_matric_dict\r\n'
    51             'dep1,fac1,Unnamed Department,department,[],{2013: 2}\r\n'
     51            'dep1,fac1,Unnamed Department,department,[],{2015: 2}\r\n'
    5252            )
    5353        return
Note: See TracChangeset for help on using the changeset viewer.