Re: [Zope-dev] Zope 2.5.0 Sessions & Testing

2002-01-08 Thread Chris McDonough
> Is it solved in Zope 3? Zope3 is more modular, so probably. Though I dont think it's a goal. > Never even knew that existed. Where's it documented? What > does it do? What are > the side effects? "Zoper.test" as a side effect it commits a transaction. It's documented in the dev guide as "ZPu

Re: [Zope-dev] Zope 2.5.0 Sessions & Testing

2002-01-08 Thread Chris Withers
Chris McDonough wrote: > > Your problem is that a REQUEST is not created without the > publisher. This is a particularly annoying and unsolved > problem when doing tests. Is it solved in Zope 3? > Your options are to use "import > Zope; Zope.test('/some/method/name')" which has all sorts of

Re: [Zope-dev] Zope 2.5.0 Sessions & Testing

2002-01-08 Thread Chris McDonough
Your problem is that a REQUEST is not created without the publisher. This is a particularly annoying and unsolved problem when doing tests. Your options are to use "import Zope; Zope.test('/some/method/name')" which has all sorts of bad side effects, or to dummy up the environment as much as pos