Ignore:
Timestamp:
9 Jan 2010, 11:33:12 (15 years ago)
Author:
uli
Message:

Update tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/university/certificate.txt

    r4489 r4760  
    157157      We cannot uncheck a certificate:
    158158
    159         >>> mycertificate.review_state = 'init'
     159        >>> mycertificate.review_state = 'unchecked'
    160160        Traceback (most recent call last):
    161161        ...
    162         InvalidTransitionError: Transition 'init' requires 'None'
    163           as source state (is: 'checked')
     162        NoTransitionAvailableError
     163
     164      The only states accepted at all are ``checked`` and
     165      ``unchecked``. If we want to set something else this won't work:
     166
     167        >>> mycertificate.review_state = 'nonsense'
     168        Traceback (most recent call last):
     169        ...
     170        NoTransitionAvailableError
     171
    164172
    165173   .. method:: addCourseRef(course[, level=100,[ core_or_elective=True]])
Note: See TracChangeset for help on using the changeset viewer.