[Zope3-checkins] CVS: Zope3/src/zope/app/cache/tests - test_annotationcacheable.py:1.5.2.1
Guido van Rossum
guido@python.org
Wed, 26 Feb 2003 16:57:56 -0500
Update of /cvs-repository/Zope3/src/zope/app/cache/tests
In directory cvs.zope.org:/tmp/cvs-serv3639
Modified Files:
Tag: use-config-branch
test_annotationcacheable.py
Log Message:
Add ISimpleService.
=== Zope3/src/zope/app/cache/tests/test_annotationcacheable.py 1.5 => 1.5.2.1 ===
--- Zope3/src/zope/app/cache/tests/test_annotationcacheable.py:1.5 Tue Feb 11 21:17:15 2003
+++ Zope3/src/zope/app/cache/tests/test_annotationcacheable.py Wed Feb 26 16:57:55 2003
@@ -25,8 +25,8 @@
from zope.app.attributeannotations import AttributeAnnotations
from zope.app.cache.annotationcacheable import AnnotationCacheable
from zope.app.interfaces.cache.cache import ICachingService
-from zope.component.service import \
- serviceManager as sm
+from zope.component.service import serviceManager as sm
+from zope.app.interfaces.services.interfaces import ISimpleService
class ObjectStub:
__implements__ = IAttributeAnnotatable
@@ -41,7 +41,7 @@
class CachingServiceStub:
- __implements__ = ICachingService
+ __implements__ = ICachingService, ISimpleService
def __init__(self):
self.caches = {}