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

Guido van Rossum guido@python.org
Mon, 3 Mar 2003 13:29:05 -0500


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

Modified Files:
      Tag: use-config-branch
	test_service.py 
Log Message:
Get rid of IService.  Instead, add ILocalService, which only applies
(as the name implies) to local services.  Fewer files touched.

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