4 Nov
2008
4 Nov
'08
6:55 p.m.
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 Zope publisher rather than calling it directly in order to have control how transactions are handled. Especially, I used subtransactions instead of top level transactions to avoid the bug reported by Peter. -- Dieter