Changeset 4998 for main/waeup.sirp/trunk


Ignore:
Timestamp:
3 Feb 2010, 15:37:14 (15 years ago)
Author:
uli
Message:

Update tests.

File:
1 edited

Legend:

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

    r4993 r4998  
    472472``finished`` dirs:
    473473
    474     >>> pending_file = dc_path + '/newfaculties_zope.mgr.pending.csv'
     474    >>> pending_file = dc_path + '/newfaculties_zope.mgr.create.pending.csv'
    475475    >>> print open(pending_file).read()
    476476    title_prefix,--IGNORE--,code,title,--ERRORS--
    477477    faculty,static,FAC1,Faculty 1,This object already exists. Skipping.
    478478
    479     >>> finished_file = dc_path + '/finished/newfaculties_zope.mgr.finished.csv'
     479    >>> finished_file = dc_path + '/finished/newfaculties_zope.mgr.create.finished.csv'
    480480    >>> print open(finished_file).read()
    481481    title_prefix,--IGNORE--,code,title
     
    494494import this way:
    495495
    496     >>> open(dc_path + '/newfaculties_zope.mgr.pending.csv', 'wb').write(
     496    >>> open(dc_path + '/newfaculties_zope.mgr.create.pending.csv', 'wb').write(
    497497    ... """title_prefix,--IGNORE--,code,title
    498498    ... faculty,static,FAC5,Faculty 5
     
    504504    >>> browser.getLink('Batch processing').click()
    505505    >>> button = lookup_submit_value(
    506     ...   'select', 'newfaculties_zope.mgr.pending.csv', browser)
     506    ...   'select', 'newfaculties_zope.mgr.create.pending.csv', browser)
    507507    >>> button.click()
    508508
     
    537537
    538538    >>> sorted(os.listdir(dc_path + '/finished'))
    539     ['certificates_zope.mgr.csv', ..., 'newfaculties_zope.mgr.csv',
    540      'newfaculties_zope.mgr.finished.csv']
     539    ['certificates_zope.mgr.create.finished.csv', ...,
     540     'newfaculties_zope.mgr.create.finished.csv',
     541     'newfaculties_zope.mgr.csv']
    541542
    542543
Note: See TracChangeset for help on using the changeset viewer.