[Zope3-dev] Re: testrunner layers
Jim Fulton
jim at zope.com
Wed Dec 21 11:11:40 EST 2005
Philipp von Weitershausen wrote:
> Jim Fulton wrote:
>
>>The __bases__ attribute indicates that a layer builds on other layers.
>>In that case, the base layers will be setUp before the layer and torn
>>down after the layer (assuming that the layer and base layers support
>>tear down.)
>
>
> So, just to get this straight, a layer's setUp or tearDown method should
> not use super(...).setUp() or super(...).tearDown() as that will handled
> be done by the testrunner?
Yes.
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list