[Zope-dev] makerequest.py

Chris Withers chrisw@nipltd.com
Fri, 27 Apr 2001 10:24:46 +0100


Hi,

This is quite a useful little utility, but it creates a REQUEST object without
any AUTHENTICATED_USER beign present.

Should this be remedied? If so, how?

I do have memories that REQUEST.AUTHENTICATED_USER has been deprecated. In
which, case, how should you get hold of the current user's object and can this
be made to work in a testing environment?

Nirvana here would be not having to import Zope so that we can run tests while
Zope is still up and running in a non-ZEO situation.
Does ZUnit help with this? If so, how?

cheers,

Chris