[Zope-CMF] Re: Mixing ZopeTestCase.Sandboxed and CMFTestCase?

Paul Winkler pw_lists at slinkp.com
Wed Oct 5 18:09:38 EDT 2005


Paul Winkler said:
> Answering my own post, I just discovered something else:
(snip)
> If you inherit in the other order, e.g.
> class Foo(CMFTestCase.CMFTestCase, ZopeTestCase.Sandboxed),
> then you have to be sure you've deleted anything
> that might still be around in beforeTearDown().
> So I guess in that case there's no point in inheriting
> from Sandboxed.

But I still think my patch to setupCMFSite() is a good idea :)
It allows you to use the function within getPortal() and
reuse the sandbox app correctly.  Not sure if Sandbox does
any good without that patch.

-- 
Paul Winkler
http://www.slinkp.com





More information about the Zope-CMF mailing list