Downsides of moving from Products to lib/python?
Martin Aspeli
optilude at gmx.net
Wed Sep 12 11:52:51 UTC 2007
Kai Diefenbach wrote:
>
> Today I run into following issue:
>
> From a pure package based product (within lib/python) the initialize
> method (aka: "Intializer called when used as a Zope 2 product.") within
> __init__.py is not called when I run tests: zopectl test -m ... (It is
> when the instance is started normally: e.g. zopectl fg)
>
This is because you're not doing the test setup right. Look at
http://dev.plone.org/collective/browser/borg/components/borg.project/trunk/borg/project/tests.py.
Martin
--
View this message in context: http://www.nabble.com/Downsides-of-moving-from-Products-to-lib-python--tf4325875s20094.html#a12633841
Sent from the Product Developers mailing list archive at Nabble.com.
More information about the Product-Developers
mailing list