Ignore:
Timestamp:
10 Jun 2011, 10:19:35 (13 years ago)
Author:
Henrik Bettermann
Message:

Fix tests.

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

Legend:

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

    r5150 r6326  
    325325    >>> ac_codes = batch.entries()
    326326    >>> ac_codes
    327     <generator object at 0x...>
     327    <generator object entries at 0x...>
    328328
    329329    >>> [x.representation for x in ac_codes]
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/browser.txt

    r6296 r6326  
    774774
    775775  >>> sorted(os.listdir(uploadpath))
    776   ['finished', 'jambdata', 'logs', 'unfinished']
     776  ['finished', 'logs', 'unfinished']
    777777
    778778
     
    815815
    816816  >>> sorted(os.listdir(uploadpath))
    817   ['finished', 'jambdata', 'logs', 'myfaculties_zope.mgr.csv', 'unfinished']
     817  ['finished', 'logs', 'myfaculties_zope.mgr.csv', 'unfinished']
    818818
    819819We create and upload also a CSV file containing departments:
  • main/waeup.sirp/trunk/src/waeup/sirp/permissions.txt

    r6202 r6326  
    2626    >>> from waeup.sirp.permissions import getRoles
    2727    >>> getRoles()
    28     <generator object at 0x...>
     28    <generator object getUtilitiesFor at 0x...>
    2929
    3030    >>> sorted(list(getRoles()))
     
    6666    >>> people_and_roles = get_users_with_local_roles(mycontext)
    6767    >>> people_and_roles
    68     <generator object at 0x...>
     68    <generator object get_users_with_local_roles at 0x...>
    6969
    7070In this case, the result is empty:
Note: See TracChangeset for help on using the changeset viewer.