Ignore:
Timestamp:
16 Sep 2011, 08:26:25 (13 years ago)
Author:
Henrik Bettermann
Message:

Add CourseTicket? class.

  • work in progress -
File:
1 edited

Legend:

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

    r6752 r6781  
    2020from waeup.sirp.students.student import Student, StudentFactory
    2121from waeup.sirp.students.studycourse import StudentStudyCourse
     22from waeup.sirp.students.studylevel import StudentStudyLevel, CourseTicket
    2223from waeup.sirp.students.payments import StudentPayments
    2324from waeup.sirp.students.accommodation import StudentAccommodation
    2425from waeup.sirp.students.interfaces import (
    2526    IStudent, IStudentStudyCourse, IStudentPayments, IStudentAccommodation,
    26     )
     27    IStudentStudyLevel, ICourseTicket)
    2728from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase
    2829
     
    3536        self.student = Student()
    3637        self.studycourse = StudentStudyCourse()
     38        self.studylevel = StudentStudyLevel()
     39        self.courseticket = CourseTicket('CERT', 'Title', 100, True)
    3740        self.payments = StudentPayments()
    3841        self.accommodation = StudentAccommodation()
     
    4851        verify.verifyClass(IStudentStudyCourse, StudentStudyCourse)
    4952        verify.verifyObject(IStudentStudyCourse, self.studycourse)
     53        verify.verifyObject(IStudentStudyLevel, self.studylevel)
     54        verify.verifyObject(ICourseTicket, self.courseticket)
    5055        verify.verifyClass(IStudentPayments, StudentPayments)
    5156        verify.verifyObject(IStudentPayments, self.payments)
Note: See TracChangeset for help on using the changeset viewer.