[Zope-CVS] CVS: Packages/pypes/pypes/tests - test_services.py:1.3

Casey Duncan casey at zope.com
Mon Aug 11 22:33:52 EDT 2003


Update of /cvs-repository/Packages/pypes/pypes/tests
In directory cvs.zope.org:/tmp/cvs-serv8959/tests

Modified Files:
	test_services.py 
Log Message:
Add convenience service accessor for event service


=== Packages/pypes/pypes/tests/test_services.py 1.2 => 1.3 ===
--- Packages/pypes/pypes/tests/test_services.py:1.2	Tue Aug  5 00:27:51 2003
+++ Packages/pypes/pypes/tests/test_services.py	Mon Aug 11 21:33:48 2003
@@ -174,6 +174,11 @@
     def testIdentity(self):
         from pypes import services
         self.failUnless(services.identity(self.conn) is self.identity)
+    
+    def testEvent(self):
+        from pypes import services
+        from pypes.event import EventService
+        self.failUnless(isinstance(services.event(self.conn), EventService))
         
 class TestInitializeServices(PersistenceTest):
     




More information about the Zope-CVS mailing list