Changeset 5005 for main/waeup.sirp/trunk/src/waeup/sirp/university
- Timestamp:
- 4 Feb 2010, 11:54:20 (15 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/university
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.py
r4993 r5005 7 7 from zope.component.interfaces import IFactory, ComponentLookupError 8 8 from zope.interface import implementedBy 9 from waeup.sirp.interfaces import ICertificate, ICertificateCourse, ICourse 9 from waeup.sirp.university.interfaces import ( 10 ICertificate, ICertificateCourse, ICourse) 10 11 11 12 class Certificate(grok.Container): -
main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.txt
r4993 r5005 36 36 Certificates have the attributes required by the `ICertificate` interface: 37 37 38 >>> from waeup.sirp. interfaces import ICertificate38 >>> from waeup.sirp.university.interfaces import ICertificate 39 39 >>> ICertificate.providedBy(mycertificate) 40 40 True … … 323 323 :class:`ICertificateCourse` interface: 324 324 325 >>> from waeup.sirp. interfaces import ICertificateCourse325 >>> from waeup.sirp.university.interfaces import ICertificateCourse 326 326 >>> from waeup.sirp.university.certificate import CertificateCourse 327 327 >>> mycertcourse = CertificateCourse(None, 200, False) -
main/waeup.sirp/trunk/src/waeup/sirp/university/certificatecontainer.py
r4920 r5005 2 2 """ 3 3 import grok 4 from waeup.sirp.interfaces import ICertificateContainer, ICertificate 4 from waeup.sirp.university.interfaces import ( 5 ICertificateContainer, ICertificate) 5 6 from zope.component.interfaces import IFactory 6 7 from zope.interface import implementedBy -
main/waeup.sirp/trunk/src/waeup/sirp/university/certificatecontainer.txt
r4920 r5005 41 41 Certificate containers provide `ICertificateContainer`: 42 42 43 >>> from waeup.sirp. interfaces import ICertificateContainer43 >>> from waeup.sirp.university.interfaces import ICertificateContainer 44 44 >>> ICertificateContainer.providedBy(mycontainer) 45 45 True -
main/waeup.sirp/trunk/src/waeup/sirp/university/course.py
r4920 r5005 4 4 from zope.interface import implementedBy 5 5 from zope.component.interfaces import IFactory 6 from waeup.sirp. interfaces import ICourse6 from waeup.sirp.university.interfaces import ICourse 7 7 8 8 class Course(grok.Model): -
main/waeup.sirp/trunk/src/waeup/sirp/university/course.txt
r4920 r5005 38 38 :class:`waeup.sirp.interfaces.ICourse` interface: 39 39 40 >>> from waeup.sirp. interfaces import ICourse40 >>> from waeup.sirp.university.interfaces import ICourse 41 41 >>> ICourse.providedBy(mycourse) 42 42 True -
main/waeup.sirp/trunk/src/waeup/sirp/university/coursecontainer.py
r4920 r5005 4 4 from zope.interface import implementedBy 5 5 from zope.component.interfaces import IFactory 6 from waeup.sirp. interfaces import ICourseContainer, ICourse6 from waeup.sirp.university.interfaces import ICourseContainer, ICourse 7 7 8 8 class CourseContainer(grok.Container): -
main/waeup.sirp/trunk/src/waeup/sirp/university/coursecontainer.txt
r4920 r5005 41 41 Course containers provide `ICourseContainer`: 42 42 43 >>> from waeup.sirp. interfaces import ICourseContainer43 >>> from waeup.sirp.university.interfaces import ICourseContainer 44 44 >>> ICourseContainer.providedBy(mycontainer) 45 45 True -
main/waeup.sirp/trunk/src/waeup/sirp/university/department.py
r4920 r5005 5 5 from zope.component.interfaces import IFactory 6 6 from zope.interface import implementedBy 7 from waeup.sirp. interfaces import IDepartment7 from waeup.sirp.university.interfaces import IDepartment 8 8 9 9 class Department(grok.Container): -
main/waeup.sirp/trunk/src/waeup/sirp/university/department.txt
r4920 r5005 43 43 `IDepartment` interface: 44 44 45 >>> from waeup.sirp. interfaces import IDepartment45 >>> from waeup.sirp.university.interfaces import IDepartment 46 46 >>> IDepartment.providedBy(mydept) 47 47 True -
main/waeup.sirp/trunk/src/waeup/sirp/university/faculty.py
r4920 r5005 5 5 from zope.component.interfaces import IFactory 6 6 from zope.interface import implementedBy 7 from waeup.sirp. interfaces import IFaculty, IDepartment7 from waeup.sirp.university.interfaces import IFaculty, IDepartment 8 8 9 9 class Faculty(grok.Container): -
main/waeup.sirp/trunk/src/waeup/sirp/university/faculty.txt
r4920 r5005 42 42 `IFaculty` interface: 43 43 44 >>> from waeup.sirp. interfaces import IFaculty44 >>> from waeup.sirp.university.interfaces import IFaculty 45 45 >>> IFaculty.providedBy(myfac) 46 46 True … … 175 175 Faculties have the attributes required by the `IFaculty` interface: 176 176 177 >>> from waeup.sirp. interfaces import IFaculty177 >>> from waeup.sirp.university.interfaces import IFaculty 178 178 >>> IFaculty.providedBy(myfaculty) 179 179 True -
main/waeup.sirp/trunk/src/waeup/sirp/university/facultycontainer.py
r4976 r5005 2 2 from zope.component.interfaces import IFactory 3 3 from zope.interface import implementedBy 4 from waeup.sirp. interfaces import IFacultyContainer, IFaculty4 from waeup.sirp.university.interfaces import IFacultyContainer, IFaculty 5 5 6 6 class FacultyContainer(grok.Container): -
main/waeup.sirp/trunk/src/waeup/sirp/university/facultycontainer.txt
r4977 r5005 43 43 `IFacultyContainer` interface: 44 44 45 >>> from waeup.sirp. interfaces import IFacultyContainer45 >>> from waeup.sirp.university.interfaces import IFacultyContainer 46 46 >>> IFacultyContainer.providedBy(mycontainer) 47 47 True … … 129 129 Faculty containers provide `IFacultyContainer`: 130 130 131 >>> from waeup.sirp. interfaces import IFacultyContainer131 >>> from waeup.sirp.university.interfaces import IFacultyContainer 132 132 >>> IFacultyContainer.providedBy(mycontainer) 133 133 True
Note: See TracChangeset for help on using the changeset viewer.