Ignore:
Timestamp:
17 Sep 2011, 16:12:37 (13 years ago)
Author:
Henrik Bettermann
Message:

Copy all data from the course and its course referrer into course tickets.

A course ticket contains a copy of the original course and
course referrer data. If the courses and/or their referrers are removed, the
corresponding tickets remain unchanged. So we do not need any event
triggered actions on course ticket.

File:
1 edited

Legend:

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

    r6781 r6783  
    3737        self.studycourse = StudentStudyCourse()
    3838        self.studylevel = StudentStudyLevel()
    39         self.courseticket = CourseTicket('CERT', 'Title', 100, True)
     39        self.courseticket = CourseTicket('CERT', 'Title', 100, 10, 40, 1,
     40            'Faculty', 'Department', True)
    4041        self.payments = StudentPayments()
    4142        self.accommodation = StudentAccommodation()
Note: See TracChangeset for help on using the changeset viewer.