Changeset 4888


Ignore:
Timestamp:
23 Jan 2010, 18:04:11 (15 years ago)
Author:
uli
Message:

Update tests.

File:
1 edited

Legend:

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

    r4881 r4888  
    127127    ...File:...faculties_zope.mgr.csv...
    128128
    129 We can watch the generated logfile:
     129We can watch the entries generated in logfile:
    130130
    131131    >>> browser.getControl('View processing log').click()
    132132    >>> print browser.contents
    133133    <!DOCTYPE ...
    134     <pre>Source: /.../faculties_zope.mgr.csv
    135     Mode: create
    136     Date: ...
    137     User: zope.mgr
    138     Failed datasets: /.../faculties_zope.mgr.csv.create.pending
    139     Processing time: ... s (... s/item)
    140     Processed: 3 lines (3 successful/ 0 failed)
     134    <pre>...
     135 
     136    ... - INFO - --------------------
     137    ... - INFO - zope.mgr: Batch processing finished: OK
     138    ... - INFO - zope.mgr: Source: /.../faculties_zope.mgr.csv
     139    ... - INFO - zope.mgr: Mode: create
     140    ... - INFO - zope.mgr: User: zope.mgr
     141    ... - INFO - zope.mgr: Processing time: ... s (... s/item)
     142    ... - INFO - zope.mgr: Processed: 3 lines (3 successful/ 0 failed)
     143    ... - INFO - --------------------
    141144    </pre>
    142     ...
    143 
    144 We can remove the logfile:
    145 
    146     >>> browser.getControl('Back', index=0).click()
    147     >>> browser.getControl('Delete', index=0).click()
    148     >>> print browser.contents
    149     <!DOCTYPE ...
    150     ...File faculties_zope.mgr.csv.create.msg deleted...
    151     ...
     145    ....
    152146
    153147
Note: See TracChangeset for help on using the changeset viewer.