[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_eventservice.py:1.31

michael dunstan michael at elyt.com
Mon Feb 9 04:07:45 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv31166/src/zope/app/services/tests

Modified Files:
	test_eventservice.py 
Log Message:
Add ObjectEventNotifier to replace IAddNotifier and friends.

It uses multiple subscription adapters to dispatch events to interested objects.

Work remains to convert existing uses of IAddNotifier, etc, so that we can then
remove them.


=== Zope3/src/zope/app/services/tests/test_eventservice.py 1.30 => 1.31 ===
--- Zope3/src/zope/app/services/tests/test_eventservice.py:1.30	Thu Dec 18 04:57:15 2003
+++ Zope3/src/zope/app/services/tests/test_eventservice.py	Mon Feb  9 04:07:44 2004
@@ -66,10 +66,12 @@
 class DummyEvent:
 
     implements(IObjectAddedEvent, IObjectRemovedEvent)
+    object = None
 
 class ObjectEvent:
 
     implements(IObjectEvent)
+    object = None
 
 class IObjectHub(Interface):
     def getObject(hubid):




More information about the Zope3-Checkins mailing list