[Zope3-checkins] CVS: Zope3/src/zope/app/index/keyword/tests -
test_index.py:1.2.12.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/keyword/tests
In directory cvs.zope.org:/tmp/cvs-serv19243/src/zope/app/index/keyword/tests
Modified Files:
Tag: adaptergeddon-branch
test_index.py
Log Message:
Implemented local presentation services.
=== Zope3/src/zope/app/index/keyword/tests/test_index.py 1.2 => 1.2.12.1 ===
--- Zope3/src/zope/app/index/keyword/tests/test_index.py:1.2 Sun Aug 17 02:06:55 2003
+++ Zope3/src/zope/app/index/keyword/tests/test_index.py Tue Nov 18 17:26:29 2003
@@ -21,7 +21,7 @@
from zope.interface import Interface, Attribute, implements
from zope.interface.verify import verifyObject
from zope.app.services.tests.placefulsetup import PlacefulSetup
-from zope.component.adapter import provideAdapter
+from zope.app.tests import ztapi
from zope.app.services.hub import \
ObjectRegisteredHubEvent, ObjectUnregisteredHubEvent, ObjectModifiedHubEvent
from zope.app.index.keyword.index import KeywordCatalogIndex
@@ -62,7 +62,7 @@
def setUp(self):
PlacefulSetup.setUp(self)
- provideAdapter(None, ISomeInterface, SomeAdapter)
+ ztapi.provideAdapter(None, ISomeInterface, SomeAdapter)
self.buildFolders()
self.index = KeywordCatalogIndex('words')
self.object = FakeSearchableObject()
More information about the Zope3-Checkins
mailing list