[Zope3-checkins] CVS: Zope3/src/zope/app/index/field/tests - test_index.py:1.4.6.1

Jim Fulton cvs-admin at zope.org
Tue Nov 18 17:27:00 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/index/field/tests
In directory cvs.zope.org:/tmp/cvs-serv19243/src/zope/app/index/field/tests

Modified Files:
      Tag: adaptergeddon-branch
	test_index.py 
Log Message:
Implemented local presentation services.


=== Zope3/src/zope/app/index/field/tests/test_index.py 1.4 => 1.4.6.1 ===
--- Zope3/src/zope/app/index/field/tests/test_index.py:1.4	Sun Sep 21 13:32:19 2003
+++ Zope3/src/zope/app/index/field/tests/test_index.py	Tue Nov 18 17:26:29 2003
@@ -24,7 +24,7 @@
 from zope.app.services.tests.placefulsetup import PlacefulSetup
 from zope.app.traversing import traverse
 from zope.component import getService
-from zope.component.adapter import provideAdapter
+from zope.app.tests import ztapi
 from zope.app.services.servicenames import HubIds
 from zope.app.interfaces.services.hub import \
      IRegistrationHubEvent, IObjectModifiedHubEvent
@@ -61,7 +61,7 @@
 
     def setUp(self):
         PlacefulSetup.setUp(self)
-        provideAdapter(None, ISomeInterface, SomeAdapter)
+        ztapi.provideAdapter(None, ISomeInterface, SomeAdapter)
         self.buildFolders()
         self.index = FieldIndex('zope3')
         self.rootFolder['myIndex'] = self.index




More information about the Zope3-Checkins mailing list