Ignore:
Timestamp:
28 Sep 2011, 14:08:34 (13 years ago)
Author:
Henrik Bettermann
Message:

We don't use review_state any more.

File:
1 edited

Legend:

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

    r6821 r6823  
    6666
    6767    >>> open('faculties.csv', 'wb').write(
    68     ... """code,review_state,title,title_prefix
    69     ... FAC1,static,Faculty 1,faculty
    70     ... FAC2,static,Faculty 2,institute
    71     ... FAC3,static,Faculty 3,school
     68    ... """code,title,title_prefix
     69    ... FAC1,Faculty 1,faculty
     70    ... FAC2,Faculty 2,institute
     71    ... FAC3,Faculty 3,school
    7272    ... """)
    7373
     
    164164
    165165    >>> open('departments.csv', 'wb').write(
    166     ... """code,faculty_code,review_state,title,title_prefix
    167     ... DEP1,FAC1,static,Department 1,department
    168     ... DEP2,FAC2,static,Department 2,centre
     166    ... """code,faculty_code,title,title_prefix
     167    ... DEP1,FAC1,Department 1,department
     168    ... DEP2,FAC2,Department 2,centre
    169169    ... """)
    170170
     
    433433
    434434    >>> open('newfaculties.csv', 'wb').write(
    435     ... """code,review_state,title,title_prefix
    436     ... FAC1,static,Faculty 1,faculty
    437     ... FAC4,static,Faculty 4,school
     435    ... """code,title,title_prefix
     436    ... FAC1,Faculty 1,faculty
     437    ... FAC4,Faculty 4,school
    438438    ... """)
    439439
     
    485485    >>> print open(pending_file).read()
    486486    title_prefix,--IGNORE--,code,title,--ERRORS--
    487     faculty,static,FAC1,Faculty 1,This object already exists in the same container. Skipping.
     487    faculty,FAC1,Faculty 1,This object already exists in the same container. Skipping.
    488488
    489489    >>> finished_file = dc_path + '/finished/newfaculties_zope.mgr.create.finished.csv'
    490490    >>> print open(finished_file).read()
    491491    title_prefix,--IGNORE--,code,title
    492     school,static,FAC4,Faculty 4
     492    school,FAC4,Faculty 4
    493493
    494494The finished-file contains the dataset we could import, while the
     
    506506    >>> open(dc_path + '/newfaculties_zope.mgr.create.pending.csv', 'wb').write(
    507507    ... """title_prefix,--IGNORE--,code,title
    508     ... faculty,static,FAC5,Faculty 5
     508    ... faculty,FAC5,Faculty 5
    509509    ... """)
    510510
Note: See TracChangeset for help on using the changeset viewer.