[Zope] unit testing and committing transactions

Dieter Maurer dieter at handshake.de
Tue Mar 23 15:29:41 EST 2004


Karl Anderson wrote at 2004-3-22 15:03 -0800:
> ...
>My solution is to
>create a new DemoStorage to be loaded from custom_zodb in the Testing
>module, and calling Zope.App.startup.startup() manually (since it
>won't be called more than once by default).
>
>This works so far, but it's inefficient, and requires some slight
>knowledge of the storage being used.

The inefficient thing is loading all products.
You can selectively load products and speed up things considerably.

-- 
Dieter



More information about the Zope mailing list