Kai Diefenbach wrote:
>
> Hi Reinout,
>
> Reinout van Rees <[EMAIL PROTECTED]>
> wrote:
>
>> Kai Diefenbach wrote:
>>
>> > How can I make Zope call the initialize method for tests as it does
>> when
>> > it starts the normal way?
>>
>> Copy-pasted from one of Maurits' testcases:
>>
>> from Products.Five import pythonproducts
>
> [Snip]
>
> I should have said, that I using Plone 3.0 / Zope 2.10.4. In the Five
> version (1.5.5) which comes with Zope 2.10.4 there is no pythonproducts.
>
> FWIW, I copied pythonproducts from 1.4.2 (IIRC) but this doesn't change
> the fact that initialize method isn't called.
>
Pythonproducts is *not* needed on Zope 2.10 (and may be harmful, not sure).
If you do the test setup right, it should work (it does for me ;-))
Martin
--
View this message in context:
http://www.nabble.com/Downsides-of-moving-from-Products-to-lib-python--tf4325875s20094.html#a12638268
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers