Previously Martin Aspeli wrote: > Sidnei da Silva wrote: > >I have a test that now needs to install plone.session since I'm updating > >this product to Plone 3.0. Apparently I need to call installPackage, but > >installPackage checks if registerPackage has been called, so I have to > >call registerPackage too, or load the zcml. This doesn't sound right to > >me. Anyone documented this already? > > You need to separate ZCML processing from Zope product loading in your mind. > > plone.session is probably not a Zope 2 product. Then, you don't need > installPackage at all. You can just use it so long as it's in your > pythonpath. You may need to load its ZCML in a test layer, of course.
It contains a content type (its PAS plugin) so it is a Zope 2 product. Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
