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.
>>> installer = getToolByName(portal, 'portal_quickinstaller')
>>> installer.listInstallableProducts()
[{'status': 'new', 'hasError': False, 'id': 'kupu', 'title': 'Kupu'},
{'status': 'new', 'hasError': False, 'id': 'Marshall', 'title':
'Marshall'}, {'status': 'new', 'hasError': False, 'id':
'plone.app.openid', 'title': u'OpenID Authentication Support'},
{'status': 'new', 'hasError': False, 'id': 'plonetheme.classic',
'title': u'Plone Classic Theme'}, {'status': 'new', 'hasError': False,
'id': 'CMFPlacefulWorkflow', 'title': u'Workflow Policy Support
(CMFPlacefulWorkflow)'}, {'status': 'new', 'hasError': False, 'id':
'plone.app.iterate', 'title': u'Working Copy Support (Iterate)'}]
Any way to include Products.LinguaPlone to test environment?
Taito Horiuchi
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers