I have added a pdb here;
/home/jmf/.buildout/installed_eggs/zope.component-3.7.1-py2.6.egg/zope/component/registry.py

make some up (5x) and voila:

(Pdb) p component
<ATCTTool at portal_atct>
(Pdb) len(provided)
17
(Pdb) u
> /home/jmf/.buildout/installed_eggs/five.localsitemanager-2.0.4-py2.6.egg/five/localsitemanager/registry.py(246)registerUtility()
-> provided = _getUtilityProvided(component)
(Pdb) u
> /home/jmf/.buildout/installed_eggs/Products.GenericSetup-1.6.1-py2.6.egg/Products/GenericSetup/components.py(319)_initUtilities()
-> self.context.registerUtility(aq_base(obj), provided, name)
(Pdb) u
> /home/jmf/.buildout/installed_eggs/Products.GenericSetup-1.6.1-py2.6.egg/Products/GenericSetup/components.py(101)_importNode()
-> self._initUtilities(child)
(Pdb) u
> /home/jmf/.buildout/installed_eggs/Products.GenericSetup-1.6.1-py2.6.egg/Products/GenericSetup/utils.py(503)_importBody()
-> self._importNode(dom.documentElement)
(Pdb) u
> /home/jmf/.buildout/installed_eggs/Products.GenericSetup-1.6.1-py2.6.egg/Products/GenericSetup/components.py(525)importComponentRegistry()
-> importer.body = body
(Pdb) context._profile_path
u'/home/jmf/.buildout/installed_eggs/Plone-4.0.2-py2.6.egg/Products/CMFPlone/profiles/default'

It is from componentregistry.xml of the default plone profile. So
portal_atct is declare as a utility but it has multiple interfaces.





-----
Jean-Michel François aka toutpt
http://toutpt.wordpress.com
http://twitter.com/toutpt

-- 
View this message in context: 
http://plone.293351.n2.nabble.com/functional-tests-fails-to-run-on-plone4-but-running-on-plone3-tp5885229p5888235.html
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

Reply via email to