Ignore:
Timestamp:
13 Dec 2011, 17:28:32 (13 years ago)
Author:
Henrik Bettermann
Message:

Set up StudentApplication? class which implements IApplicantBaseData.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/students
Files:
1 added
1 edited

Legend:

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

    r7193 r7339  
    2121from zope.interface import verify
    2222from waeup.sirp.students.student import Student, StudentFactory
     23from waeup.sirp.students.application import StudentApplication
    2324from waeup.sirp.students.studycourse import StudentStudyCourse
    2425from waeup.sirp.students.studylevel import StudentStudyLevel, CourseTicket
    2526from waeup.sirp.students.payments import StudentPaymentsContainer
    2627from waeup.sirp.students.accommodation import StudentAccommodation, BedTicket
     28from waeup.sirp.applicants.interfaces import IApplicantBaseData
    2729from waeup.sirp.students.interfaces import (
    2830    IStudent, IStudentStudyCourse, IStudentPaymentsContainer, IStudentAccommodation,
     
    3840        super(StudentTest, self).setUp()
    3941        self.student = Student()
     42        self.application = StudentApplication()
    4043        self.studycourse = StudentStudyCourse()
    4144        self.studylevel = StudentStudyLevel()
     
    5356        verify.verifyClass(IStudent, Student)
    5457        verify.verifyObject(IStudent, self.student)
     58        verify.verifyClass(IApplicantBaseData, StudentApplication)
     59        verify.verifyObject(IApplicantBaseData, self.application)
    5560        verify.verifyClass(IStudentStudyCourse, StudentStudyCourse)
    5661        verify.verifyObject(IStudentStudyCourse, self.studycourse)
Note: See TracChangeset for help on using the changeset viewer.