Changeset 4232


Ignore:
Timestamp:
9 Jun 2009, 08:55:05 (15 years ago)
Author:
uli
Message:

Updata tests.

Location:
waeup/branches/ulif-rewrite/src/waeup
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/browser.txt

    r4151 r4232  
    9595We can view a faculty by browsing a URL like this::
    9696
    97   >>> browser.open('http://localhost/myuniversity/faculties/0')
     97  >>> browser.open('http://localhost/myuniversity/faculties/TF')
    9898
    9999Afterwards, the faculty should be visible:
     
    103103  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
    104104  ...<h2>Registered faculties:</h2>
    105   ...<a href="http://localhost/myuniversity/faculties/0">TestFac</a>
     105  ...<a href="http://localhost/myuniversity/faculties/TF">TestFac</a>
    106106  ...
    107107
  • waeup/branches/ulif-rewrite/src/waeup/university/faculty.txt

    r4157 r4232  
    6464
    6565Each faculty holds a code, which might be a shortcut or abbreviation
    66 of the real faculty name. By default the code is ``None``:
     66of the real faculty name. By default the code is ``NA`` (=not assigned):
    6767
    68     >>> myfaculty.code is None
    69     True
     68    >>> myfaculty.code
     69    u'NA'
  • waeup/branches/ulif-rewrite/src/waeup/university/facultycontainer.txt

    r4223 r4232  
    6363
    6464    >>> mycontainer.addFaculty(myfaculty)
    65     '0'
    6665
    6766We get back the key, under which the faculty was stored. It will be
Note: See TracChangeset for help on using the changeset viewer.