Op 30-04-10 13:16, Taito Horiuchi schreef:
> The next code helped me to include Products.LinguaPlone to test Plone-3.x 
> sites.
>
> from Testing import ZopeTestCase as ztc
>
> @onsetup
> def setup_my_product():
>      ztc.installProduct('LinguaPlone')
>
> Now that I need to test Plone-4.x site,
> This does not help including Products.LinguaPlone.
> It does not only install the product, but I don't see it in
> listInstallableProducts() method.

I am guessing here, but it could be that in Plone 4 installProduct 
should not be used anymore, but always installPackage:

    ztc.installPackage('Products.LinguaPlone')

Maurits

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to