Ignore:
Timestamp:
7 Oct 2012, 21:50:41 (12 years ago)
Author:
Henrik Bettermann
Message:

Batch processing of users does not work as expected. The test fails.

File:
1 edited

Legend:

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

    r9265 r9310  
    433433    >>> open('users.csv', 'wb').write(
    434434    ... """name,title,public_name,email,phone,roles
    435     ... uli,Uli Fouquet,Chief Developer,uli@abc.de,+49-234-567
    436     ... henrik,Henrik Bettermann,Admin,henrik@abc.de,+49-234-567,['waeup.PortalManager']
     435    ... uli,Uli Fouquet,Chief Developer,uli@abc.de,+49-234-567,[]
     436    ... henrik,Henrik Bettermann,Admin,henrik@abc.de,+49-234-567,"['waeup.PortalManager', 'waeup.ImportManager']"
    437437    ... """)
    438438
     
    489489    ...File:...users_zope.mgr.csv...
    490490
     491User henrik has got the global roles:
     492
     493   >>> henrik = getRootFolder()['app']['users']['henrik']
     494   >>> henrik.roles
     495   ['waeup.PortalManager', 'waeup.ImportManager']
     496
    491497Pending files
    492498=============
     
    518524    >>> filewidget.add_file(filecontents, 'text/plain', 'newfaculties.csv')
    519525    >>> browser.getControl(name='SUBMIT').click()
     526
     527Since we now have a user with waeup.ImportManager role, an email has been sent:
     528    >>> print browser.contents
     529    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     530    ...
     531    ...All import managers have been notified by email...
     532    ...
    520533
    521534Step 1: start batch processing:
Note: See TracChangeset for help on using the changeset viewer.