[ZODB-Dev] DemoStorage stacking in zope.testing layers

Hanno Schlichting hanno at hannosch.eu
Mon Apr 5 10:56:59 EDT 2010


Hi.

On Mon, Apr 5, 2010 at 4:36 PM, Martin Aspeli <optilude+lists at gmail.com> wrote:
> What is the correct way to use DemoStorage stacking in test layers?

Not sure if this helps, but zope.app.testing's functional.py [1] did
something similar here (stacking DemoStorages). Maybe the
FunctionalTestSetup class including the way it uses shared state to
keep track of the DB's might be helpful.

Hanno

[1] http://svn.zope.org/zope.app.testing/trunk/src/zope/app/testing/functional.py?view=markup


More information about the ZODB-Dev mailing list