[Zope3-dev] functional tests need an ObjectHub

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Sat, 02 Aug 2003 15:37:27 +1000


>>> Marius Gedminas wrote
> Do you manipulate objects directly (via getRootFolder()['xxx']) or via
> the publication mechanism?  In the former case it might be that the lack
> of context decoration stopped any events being sent to the hub service.

Yes, the failing test was calling getRootFolder().

> I have modified FunctionalTestCase.getRootFolder to return context
> wrapped root folder now.  Could you check if you still have problems?
> If so, I'd like to see the actual test code that fails.

It now works. Thanks!

Anthony
-- 
Anthony Baxter     <anthony@interlink.com.au>   
It's never too late to have a happy childhood.