[Zope3-checkins] CVS: Zope3/lib/python/Zope/Event/tests - testObjectEvent.py:1.5

Benjamin Saller bcsaller@yahoo.com
Thu, 5 Dec 2002 05:34:48 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Event/tests
In directory cvs.zope.org:/tmp/cvs-serv8109/tests

Modified Files:
	testObjectEvent.py 
Log Message:
*added events and interfaces for event notifications for object content and annotation modifications

=== Zope3/lib/python/Zope/Event/tests/testObjectEvent.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/Event/tests/testObjectEvent.py:1.4	Thu Oct  3 16:53:22 2002
+++ Zope3/lib/python/Zope/Event/tests/testObjectEvent.py	Thu Dec  5 05:34:47 2002
@@ -21,6 +21,7 @@
 
 from Zope.Event.ObjectEvent import ObjectAddedEvent, ObjectModifiedEvent
 from Zope.Event.ObjectEvent import ObjectRemovedEvent, ObjectMovedEvent
+from Zope.Event.ObjectEvent import ObjectAnnotationsModifiedEvent, ObjectContentModifiedEvent
 
 class TestObjectAddedEvent(unittest.TestCase):
     
@@ -41,6 +42,13 @@
 
     klass = ObjectModifiedEvent
 
+class TestObjectAnnotationsModifiedEvent(TestObjectAddedEvent):
+    klass = ObjectAnnotationsModifiedEvent
+
+class TestObjectContentModifiedEvent(TestObjectAddedEvent):
+    klass = ObjectContentModifiedEvent
+
+
 class TestObjectRemovedEvent(TestObjectAddedEvent):
 
     
@@ -71,6 +79,8 @@
 def test_suite():
     return unittest.TestSuite((unittest.makeSuite(TestObjectAddedEvent),
                                unittest.makeSuite(TestObjectModifiedEvent),
+                               unittest.makeSuite(TestObjectAnnotationsModifiedEvent),
+                               unittest.makeSuite(TestObjectContentModifiedEvent),
                                unittest.makeSuite(TestObjectRemovedEvent),
                                unittest.makeSuite(TestObjectMovedEvent)))