[EMAIL PROTECTED] wrote:
I have a situation where the functional test passes but when the page is
actually viewed a ComponentLookupError is raised.
One common cause for these types of errors is differences in
configuration between the testing and production environment. Try
running zope with the testing config and see if you get the same results
when accessing the page with a real browser.
You can do that by specify which ZCML to use with the -X
site-definition=foo.zcml switch, where foo.zcml is either the top-level
ftesting.zcml or the ZCML for your test layer.
Senior Software Engineer
Zope3-users mailing list