I need some help on the creation of a (dummy?) user object using Python.  I
am trying to test a zope product using ZUnit. I have been able to 'simulate'
a request by using the makerequest.py module (Lib/Python/Testing). Here is
how I used it:

import makerequest
app = makerequest.makerequest(Zope.app())
request = app.REQUEST

Now, the REQUEST object does not contain any AUTHENTICATED_USER, and this
causes me problem because my product is using the user object, in other
words, the product can not be fully tested.

So, is it possible create (or simulated) an AUTHENTICATED_USER in the
REQUEST? if it is, then I'll like to know how.

Thank for your time and help



Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to