[Zope3-dev] Re: Doctests for IObjectModifiedEvent

Florent Guillaume fg at nuxeo.com
Mon Mar 20 08:06:13 EST 2006


Sorry, I was on vacation.
Without a traceback I'm not sure what you really mean.
Anyway Stefan already answered.
You should also read
http://blogs.nuxeo.com/sections/blogs/florent_guillaume/ 
2005_11_10_object-event-dispatching
to get an understanding of how event dispatching works.

Florent

On 8 Mar 2006, at 21:18, Egon Frerich wrote:
> Hello,
>
> I want to have doctests which document the correctness of an  
> handler for
>  an IObjectModifiedEvent. But the 'notify' triggers a TypeError,  
> because
> the handler 'takes exactly 2 arguments (1 given)'. Two arguments are
> correct.
>
> I have searched the tests in zope.app.event. The Doctests do notify  
> but
> I don't see any handler for IObjectModifiedEvent (and a proof the
> handler does it right).
>
> Egon

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com




More information about the Zope3-dev mailing list