Ignore:
Timestamp:
6 May 2015, 10:13:38 (9 years ago)
Author:
Henrik Bettermann
Message:

Implement automatic matric_number assignment. Students can induce the
assignment if they have paid school fees by clicking the
'Get Matriculation Number' button. Numbering is per department and session.

File:
1 edited

Legend:

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

    r12905 r12907  
    1919import tempfile
    2020import os
     21from hurry.workflow.interfaces import IWorkflowState
    2122from zope.component import getUtility
    2223from waeup.kofa.students.tests.test_browser import StudentsFullSetup
     
    3435        utils = getUtility(IStudentsUtils)
    3536        self.student.matric_number = None
     37        IWorkflowState(self.student).setState('school fee paid')
    3638        msg, mnumber = utils.setMatricNumber(self.student)
    3739        self.assertEqual(msg, 'Matriculation number cannot be set.')
Note: See TracChangeset for help on using the changeset viewer.