[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - test_connectionconfiguration.py:1.8

Guido van Rossum guido@python.org
Wed, 23 Apr 2003 20:25:02 -0400


Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv15948

Modified Files:
	test_connectionconfiguration.py 
Log Message:
Fix test breakage.  Also fold long lines.


=== Zope3/src/zope/app/services/tests/test_connectionconfiguration.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/services/tests/test_connectionconfiguration.py:1.7	Mon Mar 31 10:55:19 2003
+++ Zope3/src/zope/app/services/tests/test_connectionconfiguration.py	Wed Apr 23 20:25:02 2003
@@ -36,7 +36,8 @@
 from zope.app.services.service import ServiceConfiguration
 from zope.proxy.context import ContextMethod
 from zope.proxy.context import ContextWrapper
-from zope.app.interfaces.services.configuration import IAttributeUseConfigurable
+from zope.app.interfaces.services.configuration \
+     import IAttributeUseConfigurable, IUseConfiguration
 
 class DependableStub:
 
@@ -54,7 +55,10 @@
 
 class TestDA(DependableStub):
 
-    __implements__ = IZopeDatabaseAdapter, IDependable
+    __implements__ = IZopeDatabaseAdapter, IDependable, IUseConfiguration
+
+    def addUsage(self, location):
+        pass
 
 
 class ConnectionServiceStub(DependableStub):