[Zope3-checkins] CVS: Zope3/src/zope/app/content/tests - test_sqlscript.py:1.6.2.1
Guido van Rossum
guido@python.org
Wed, 26 Feb 2003 16:51:54 -0500
Update of /cvs-repository/Zope3/src/zope/app/content/tests
In directory cvs.zope.org:/tmp/cvs-serv2773
Modified Files:
Tag: use-config-branch
test_sqlscript.py
Log Message:
Add ISimpleService.
=== Zope3/src/zope/app/content/tests/test_sqlscript.py 1.6 => 1.6.2.1 ===
--- Zope3/src/zope/app/content/tests/test_sqlscript.py:1.6 Tue Feb 11 21:17:18 2003
+++ Zope3/src/zope/app/content/tests/test_sqlscript.py Wed Feb 26 16:51:54 2003
@@ -38,6 +38,7 @@
from zope.app.interfaces.cache.cache import ICachingService
from zope.app.cache.annotationcacheable import AnnotationCacheable
from zope.app.interfaces.traversing import IPhysicallyLocatable
+from zope.app.interfaces.services.interfaces import ISimpleService
# Make spme fixes, so that we overcome some of the natural ZODB properties
@@ -73,7 +74,7 @@
class ConnectionServiceStub:
- __implements__ = IConnectionService
+ __implements__ = IConnectionService, ISimpleService
def getConnection(self, name):
return ConnectionStub()
@@ -101,7 +102,7 @@
class CachingServiceStub:
- __implements__ = ICachingService
+ __implements__ = ICachingService, ISimpleService
def __init__(self):
self.caches = {}