Changeset 13846 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 21 Apr 2016, 14:17:19 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py
r13793 r13846 166 166 self.assertEqual(self.student.matric_number, 'AAU/SPS/ABC/dep1/04/AGRB/00001') 167 167 self.assertEqual(site['configuration'].next_matric_integer_3, 2) 168 self.student.matric_number = None 169 # students in IOE don't have a department 170 self.app['faculties']['fac1'].code = 'IOE' 171 msg, mnumber = utils.setMatricNumber(self.student) 172 self.assertEqual(self.student.matric_number, 'AAU/SPS/IOE/04/AGRB/00002') 168 173 # Diploma Students get a matric number with leading 'IOS' 169 174 # and the dp counter which is next_matric_integer_3.
Note: See TracChangeset for help on using the changeset viewer.