# Module R.t.utils

Part of Reportek.tests

No module docstring

Line # | Kind | Name | Docs
--- | --- | --- | ---
6 | Function | loginAnonymous | Undocumented
12 | Function | loginUnrestricted | Undocumented
19 | Function | loginAs | Undocumented
26 | Function | loginUser | Undocumented
32 | Function | logout | simulates logout
36 | Function | setupUser | Creates the user in the given folder (folder) acl_users.
45 | Function | addCMFsite | creates a CMF site in the given zope (folder)
51 | Function | registerCMFuser | creates a CMF portal member in the given CMF site

def loginAnonymous():
Undocumented
def loginUnrestricted():
Undocumented
def loginAs(username, roles):
Undocumented
def loginUser(user, zope_app=None):
Undocumented
def logout():
simulates logout

def setupUser(folder, user_name, roles):
Creates the user in the given folder (folder) acl_users.

def addCMFsite(zope):
creates a CMF site in the given zope (folder)

def registerCMFuser(site, user_name):
creates a CMF portal member in the given CMF site