[Zope3-checkins] CVS: Zope3/src/zope/app/content/tests - test_sqlscript.py:1.4

R. Sean Bowman sean.bowman@acm.org
Thu, 6 Feb 2003 01:50:33 -0500


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

Modified Files:
	test_sqlscript.py 
Log Message:
finished changing service names to use strings defined in
zope/component/servicenames.py, changed the name of
ErrorReportingService to ErrorReports and Resources to ResourceService


=== Zope3/src/zope/app/content/tests/test_sqlscript.py 1.3 => 1.4 ===
--- 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	Thu Feb  6 01:49:29 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)