[Zope3-checkins] CVS: Zope3/src/zope/app/content/tests - test_sqlscript.py:1.3.4.1
Sidnei da Silva
sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:41:43 -0500
Update of /cvs-repository/Zope3/src/zope/app/content/tests
In directory cvs.zope.org:/tmp/cvs-serv18615/src/zope/app/content/tests
Modified Files:
Tag: paris-copypasterename-branch
test_sqlscript.py
Log Message:
Updating from HEAD to make sure everything still works before merging
=== Zope3/src/zope/app/content/tests/test_sqlscript.py 1.3 => 1.3.4.1 ===
--- Zope3/src/zope/app/content/tests/test_sqlscript.py:1.3 Sat Dec 28 09:13:24 2002
+++ Zope3/src/zope/app/content/tests/test_sqlscript.py Tue Feb 11 09:41:13 2003
@@ -21,6 +21,7 @@
from zope.app.interfaces.rdb import IZopeConnection
from zope.app.interfaces.rdb import IZopeCursor
from zope.component import getService
+from zope.component.servicenames import Adapters
from zope.app.component import nextservice
from zope.component.service import serviceManager as sm
from zope.app.tests.placelesssetup import PlacelessSetup
@@ -133,13 +134,13 @@
self.caching_service = CachingServiceStub()
sm.defineService('Caching', ICachingService)
sm.provideService('Caching', self.caching_service)
- getService(None, "Adapters").provideAdapter(
+ getService(None, Adapters).provideAdapter(
IAttributeAnnotatable, IAnnotations,
AttributeAnnotations)
- getService(None, "Adapters").provideAdapter(
+ getService(None, Adapters).provideAdapter(
ISQLScript, IPhysicallyLocatable,
LocatableStub)
- getService(None, "Adapters").provideAdapter(
+ getService(None, Adapters).provideAdapter(
IAnnotatable, ICacheable,
AnnotationCacheable)