On Mon, Apr 05, 2010 at 10:36:49PM +0800, Martin Aspeli wrote:
> I'm trying to do something like the following:
>
> - A test layer "EmptyZODB" sets up an empty ZODB using DemoStorage and
> exposes the DB object to other layers and tests.
>
> - A test layer "Foo" has "EmptyZODB" as a base. It
Hi.
On Mon, Apr 5, 2010 at 4:36 PM, Martin Aspeli 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 wa
Hi,
I'm trying to do something like the following:
- A test layer "EmptyZODB" sets up an empty ZODB using DemoStorage and
exposes the DB object to other layers and tests.
- A test layer "Foo" has "EmptyZODB" as a base. It opens a connection
during layer setup, makes some changes, commits t