Ignore:
Timestamp:
2 Oct 2011, 09:45:29 (13 years ago)
Author:
Henrik Bettermann
Message:

Enable locating students by reg_number or matric_number for update and removal.

Allow adding students by pre-selecting the student_id and bypassing the random student_id generator. This is important for the migration of student data.

Further tests are needed and will follow!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_batching.py

    r6843 r6846  
    107107        assert self.importer.entryExists(
    108108            dict(student_id='ID_NONE'), self.app) is False
    109         assert self.importer.entryExists(
    110             dict(student_id=self.student.student_id), self.app) is True
     109        student = dict(student_id=self.student.student_id), self.app)
     110        self.assertEqual(student.reg_number, u'123')
    111111
    112112    def test_getParent(self):
Note: See TracChangeset for help on using the changeset viewer.