Changeset 5989


Ignore:
Timestamp:
27 Apr 2011, 07:44:15 (16 years ago)
Author:
Henrik Bettermann
Message:

Fix doc tests.

Location:
main/waeup.sirp/trunk/src/waeup/sirp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/batchprocessing.txt

    r5986 r5989  
    6161    ... FAC1,static,Faculty 1,faculty
    6262    ... FAC2,static,Faculty 2,institute
    63     ... FAC3,static,Faculty 3,school
     63    ... FAC3,static,Faculty 3,school_of
    6464    ... """)
    6565
    … …  
    426426    ... """code,review_state,title,title_prefix
    427427    ... FAC1,static,Faculty 1,faculty
    428     ... FAC4,static,Faculty 4,school
     428    ... FAC4,static,Faculty 4,school_of
    429429    ... """)
    430430
    … …  
    481481    >>> print open(finished_file).read()
    482482    title_prefix,--IGNORE--,code,title
    483     school,static,FAC4,Faculty 4
     483    school_of,static,FAC4,Faculty 4
    484484
    485485The finished-file contains the dataset we could import, while the
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt

    r5986 r5989  
    196196  ...<h2>Faculties</h2>
    197197  ...<td> <a href="TF"> <span>TF</span></a></td>
    198   ...<td>My renamed faculty</td>
     198  ...<td>Faculty of My renamed faculty (TF)</td>
    199199  ...
    200200
    … …  
    253253  ...<h2>Departments</h2>
    254254  ...<td> <a href="TD"> <span>TD</span></a></td>
    255   ...<td>TestDept</td>
     255  ...<td>Department of TestDept (TD)</td>
    256256  ...
    257257
    … …  
    294294  ...<h2>Departments</h2>
    295295  ...<td> <a href="TD"> <span>TD</span></a></td>
    296   ...<td>My renamed dept</td>
     296  ...<td>Department of My renamed dept (TD)</td>
    297297  ...
    298298
    … …  
    815815  >>> open('faculties.csv', 'wb').write(
    816816  ... """code,title,title_prefix
    817   ... FA,Arts,Faculty
    818   ... FS,Sciences,Faculty
     817  ... FA,Arts,faculty
     818  ... FS,Sciences,faculty
    819819  ... """)
    820820
    … …  
    850850  >>> open('departments.csv', 'wb').write(
    851851  ... """code,title,title_prefix,faculty_code
    852   ... LIT,Literature,Department,FA
    853   ... SOC,Sociology,Department,FA
    854   ... PHY,Physics,Department,FS
    855   ... INF,Informatics,Department,FS
    856   ... MAT,Math,Department,FS
     852  ... LIT,Literature,department,FA
     853  ... SOC,Sociology,department,FA
     854  ... PHY,Physics,department,FS
     855  ... INF,Informatics,department,FS
     856  ... MAT,Math,department,FS
    857857  ... """)
    858858
  • main/waeup.sirp/trunk/src/waeup/sirp/image/README.txt

    r5979 r5989  
    8686
    8787  >>> file.size
    88   9L
     88  9
    8989
    9090Now let's disable tramline in our utility::
Note: See TracChangeset for help on using the changeset viewer.