[Zope3-dev] Doctests for IObjectModifiedEvent

Egon Frerich e.frerich at nord-com.net
Wed Mar 8 15:18:11 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
- --
Egon Frerich, Freudenbergstr. 16, 28213 Bremen

E-Mail: e.frerich at nord-com.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: GnuPT 2.7.2
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEDzwBuTzybIiyjvURAktgAJ4gjsrV9ds7+iEjUsh1Pbn57xUYIgCdEk7C
iof7BgNE8NgmJ7bwljvGNww=
=PTzi
-----END PGP SIGNATURE-----


More information about the Zope3-dev mailing list