Ignore:
Timestamp:
8 Feb 2016, 16:03:04 (9 years ago)
Author:
Henrik Bettermann
Message:

Use degree instead of certcode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py

    r13609 r13664  
    154154        self.student['studycourse'].certificate.study_mode = 'special_pg_ft'
    155155        self.student.matric_number = None
     156        self.certificate.degree = 'AGRB'
    156157        msg, mnumber = utils.setMatricNumber(self.student)
    157         self.assertEqual(self.student.matric_number, 'AAU/SPS/ABC/dep1/04/CERT1/00001')
     158        self.assertEqual(self.student.matric_number, 'AAU/SPS/ABC/dep1/04/AGRB/00001')
    158159        self.assertEqual(site['configuration'].next_matric_integer_3, 2)
    159160        # Foundation programme students don't get matric number.
Note: See TracChangeset for help on using the changeset viewer.