[Zope3-checkins] CVS: Zope3/src/zope/app/index/tests - test_objectretrievingprocessor.py:1.3.4.1
Sidnei da Silva
sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:41:47 -0500
Update of /cvs-repository/Zope3/src/zope/app/index/tests
In directory cvs.zope.org:/tmp/cvs-serv18615/src/zope/app/index/tests
Modified Files:
Tag: paris-copypasterename-branch
test_objectretrievingprocessor.py
Log Message:
Updating from HEAD to make sure everything still works before merging
=== Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py 1.3 => 1.3.4.1 ===
--- Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py:1.3 Mon Dec 30 09:03:07 2002
+++ Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py Tue Feb 11 09:41:16 2003
@@ -19,6 +19,7 @@
from zope.component import getAdapter
from zope.component import getServiceManager
from zope.component.exceptions import ComponentLookupError
+from zope.component.servicenames import HubIds
from zope.interface.verify import verifyObject
from zope.app.tests.placelesssetup import PlacelessSetup
@@ -85,8 +86,8 @@
# Register the objecthub as a service
hub = FakeObjectHub()
service_manager = getServiceManager(None)
- service_manager.defineService("HubIds", IObjectHub)
- service_manager.provideService("HubIds", hub)
+ service_manager.defineService(HubIds, IObjectHub)
+ service_manager.provideService(HubIds, hub)
# Insert our objects into the hub and remember their ids
for x in objects: