[Zope3-checkins] CVS: Zope3/src/zope/component/tests - test_service.py:1.2.6.1

Guido van Rossum guido@python.org
Wed, 26 Feb 2003 16:43:43 -0500


Update of /cvs-repository/Zope3/src/zope/component/tests
In directory cvs.zope.org:/tmp/cvs-serv1550/src/zope/component/tests

Modified Files:
      Tag: use-config-branch
	test_service.py 
Log Message:
Fix a few failing tests, for Tim.

=== Zope3/src/zope/component/tests/test_service.py 1.2 => 1.2.6.1 ===
--- Zope3/src/zope/component/tests/test_service.py:1.2	Wed Dec 25 09:13:32 2002
+++ Zope3/src/zope/component/tests/test_service.py	Wed Feb 26 16:43:42 2003
@@ -30,6 +30,8 @@
 
 from zope.component import queryService
 
+from zope.component.interfaces import IService
+
 class IOne(Interface):
     pass
 
@@ -37,10 +39,10 @@
     pass
 
 class ServiceOne:
-    __implements__ = IOne
+    __implements__ = IOne, IService
 
 class ServiceTwo:
-    __implements__ = ITwo
+    __implements__ = ITwo, IService
 
 class Test(CleanUp, unittest.TestCase):