Changeset 8735 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 17 Jun 2012, 06:42:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_student.py
r8467 r8735 36 36 from waeup.kofa.students.interfaces import ( 37 37 IStudent, IStudentStudyCourse, IStudentPaymentsContainer, 38 IStudentAccommodation, IStudentStudyLevel, ICourseTicket, IBedTicket) 38 IStudentAccommodation, IStudentStudyLevel, ICourseTicket, IBedTicket, 39 IStudentNavigation) 39 40 from waeup.kofa.students.tests.test_batching import StudentImportExportSetup 40 41 from waeup.kofa.testing import FunctionalLayer, FunctionalTestCase … … 86 87 def test_interfaces(self): 87 88 verify.verifyClass(IStudent, Student) 89 verify.verifyClass(IStudentNavigation, Student) 88 90 verify.verifyObject(IStudent, self.student) 91 verify.verifyObject(IStudentNavigation, self.student) 92 89 93 verify.verifyClass(IStudentStudyCourse, StudentStudyCourse) 94 verify.verifyClass(IStudentNavigation, StudentStudyCourse) 90 95 verify.verifyObject(IStudentStudyCourse, self.studycourse) 96 verify.verifyObject(IStudentNavigation, self.studycourse) 97 98 verify.verifyClass(IStudentStudyLevel, StudentStudyLevel) 99 verify.verifyClass(IStudentNavigation, StudentStudyLevel) 91 100 verify.verifyObject(IStudentStudyLevel, self.studylevel) 101 verify.verifyObject(IStudentNavigation, self.studylevel) 102 103 verify.verifyClass(ICourseTicket, CourseTicket) 104 verify.verifyClass(IStudentNavigation, CourseTicket) 92 105 verify.verifyObject(ICourseTicket, self.courseticket) 106 verify.verifyObject(IStudentNavigation, self.courseticket) 107 93 108 verify.verifyClass(IStudentPaymentsContainer, StudentPaymentsContainer) 109 verify.verifyClass(IStudentNavigation, StudentPaymentsContainer) 94 110 verify.verifyObject(IStudentPaymentsContainer, self.payments) 111 verify.verifyObject(IStudentNavigation, self.payments) 112 95 113 verify.verifyClass(IStudentAccommodation, StudentAccommodation) 114 verify.verifyClass(IStudentNavigation, StudentAccommodation) 96 115 verify.verifyObject(IStudentAccommodation, self.accommodation) 116 verify.verifyObject(IStudentNavigation, self.accommodation) 117 97 118 verify.verifyClass(IBedTicket, BedTicket) 119 verify.verifyClass(IStudentNavigation, BedTicket) 98 120 verify.verifyObject(IBedTicket, self.bedticket) 121 verify.verifyObject(IStudentNavigation, self.bedticket) 99 122 return 100 123
Note: See TracChangeset for help on using the changeset viewer.