Changeset 6781 for main/waeup.sirp/trunk/src/waeup/sirp/students/tests
- Timestamp:
- 16 Sep 2011, 08:26:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_student.py
r6752 r6781 20 20 from waeup.sirp.students.student import Student, StudentFactory 21 21 from waeup.sirp.students.studycourse import StudentStudyCourse 22 from waeup.sirp.students.studylevel import StudentStudyLevel, CourseTicket 22 23 from waeup.sirp.students.payments import StudentPayments 23 24 from waeup.sirp.students.accommodation import StudentAccommodation 24 25 from waeup.sirp.students.interfaces import ( 25 26 IStudent, IStudentStudyCourse, IStudentPayments, IStudentAccommodation, 26 )27 IStudentStudyLevel, ICourseTicket) 27 28 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase 28 29 … … 35 36 self.student = Student() 36 37 self.studycourse = StudentStudyCourse() 38 self.studylevel = StudentStudyLevel() 39 self.courseticket = CourseTicket('CERT', 'Title', 100, True) 37 40 self.payments = StudentPayments() 38 41 self.accommodation = StudentAccommodation() … … 48 51 verify.verifyClass(IStudentStudyCourse, StudentStudyCourse) 49 52 verify.verifyObject(IStudentStudyCourse, self.studycourse) 53 verify.verifyObject(IStudentStudyLevel, self.studylevel) 54 verify.verifyObject(ICourseTicket, self.courseticket) 50 55 verify.verifyClass(IStudentPayments, StudentPayments) 51 56 verify.verifyObject(IStudentPayments, self.payments)
Note: See TracChangeset for help on using the changeset viewer.