Ignore:
Timestamp:
30 May 2011, 07:17:03 (14 years ago)
Author:
Henrik Bettermann
Message:

Fix tests.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/university
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.txt

    r6217 r6244  
    338338    >>> mycourse.code = 'MYCOURSE'
    339339    >>> mydept.courses.addCourse(mycourse)
    340     'Course added (for tests only).'
    341340    >>> mycert = createObject('waeup.Certificate')
    342341    >>> mycert.code = 'MYCERT'
    343342    >>> mydept.certificates.addCertificate(mycert)
    344     'Certificate added (for tests only).'
    345343    >>> mycert.addCourseRef(mycourse)
    346344
  • main/waeup.sirp/trunk/src/waeup/sirp/university/courserefs.txt

    r6217 r6244  
    4848    >>> course.code = 'CRS1'
    4949    >>> fac['DEPT'].courses.addCourse(course)
    50     'Course added.'
    5150
    5251Now let's add another department, which will also hold a course:
     
    5958    >>> course.code = 'CRS2'
    6059    >>> fac['DEPT2'].courses.addCourse(course)
    61     'Course added.'
    6260
    6361Finally, we add a certificate with referrers (certificate courses) to
     
    6765    >>> cert.code = 'CERT'
    6866    >>> fac['DEPT'].certificates.addCertificate(cert)
    69     'Certificate added.'
    7067
    7168    >>> fac['DEPT'].certificates['CERT'].addCourseRef(
Note: See TracChangeset for help on using the changeset viewer.