Re: [Zope] FunctionalTestCase commits transactions

2008-11-17 Thread Peter Bengtsson
2008/11/17 Dieter Maurer [EMAIL PROTECTED]: Peter Bengtsson wrote at 2008-11-5 15:14 +: ... When I wrote a functional test browser (years before zope3), I emulated the Zope publisher rather than calling it directly in order to have control how transactions are handled. Especially, I

Re: [Zope] FunctionalTestCase commits transactions

2008-11-16 Thread Dieter Maurer
Peter Bengtsson wrote at 2008-11-5 15:14 +: ... When I wrote a functional test browser (years before zope3), I emulated the Zope publisher rather than calling it directly in order to have control how transactions are handled. Especially, I used subtransactions instead of top level

Re: [Zope] FunctionalTestCase commits transactions

2008-11-05 Thread Peter Bengtsson
2008/11/4 Dieter Maurer [EMAIL PROTECTED]: Ross Patterson wrote at 2008-11-3 16:04 -0800: ... If memory serves, a *functional* test fixture calls the Zope publisher when a testbrowser request is made. The publisher opens a new transaction, as it should. Really? When I wrote a functional

Re: [Zope] FunctionalTestCase commits transactions

2008-11-05 Thread Ross Patterson
Peter Bengtsson [EMAIL PROTECTED] writes: 2008/11/4 Dieter Maurer [EMAIL PROTECTED]: Ross Patterson wrote at 2008-11-3 16:04 -0800: ... If memory serves, a *functional* test fixture calls the Zope publisher when a testbrowser request is made. The publisher opens a new transaction, as it

Re: [Zope] FunctionalTestCase commits transactions

2008-11-04 Thread Dieter Maurer
Ross Patterson wrote at 2008-11-3 16:04 -0800: ... If memory serves, a *functional* test fixture calls the Zope publisher when a testbrowser request is made. The publisher opens a new transaction, as it should. Really? When I wrote a functional test browser (years before zope3), I emulated the

Re: [Zope] FunctionalTestCase commits transactions

2008-11-04 Thread Ross Patterson
Dieter Maurer [EMAIL PROTECTED] writes: Ross Patterson wrote at 2008-11-3 16:04 -0800: ... If memory serves, a *functional* test fixture calls the Zope publisher when a testbrowser request is made. The publisher opens a new transaction, as it should. Really? When I wrote a functional test

[Zope] FunctionalTestCase commits transactions

2008-11-03 Thread Peter Bengtsson
I'm trying to get zope.testbrowser to work in Zope 2.10. After a lot of guesswork (easy_install zope.testbrowser broke my environment, Zope 2.11 isn't setting up session container, used various blogs tips to get adapters right) I got it running and I can now do stuff like

Re: [Zope] FunctionalTestCase commits transactions

2008-11-03 Thread Ross Patterson
Peter Bengtsson [EMAIL PROTECTED] writes: I'm trying to get zope.testbrowser to work in Zope 2.10. After a lot of guesswork (easy_install zope.testbrowser broke my environment, Zope 2.11 isn't setting up session container, used various blogs tips to get adapters right) I got it running and I