[Zope3-checkins] CVS: Zope3/src/zope/app/index/tests - test_objectretrievingprocessor.py:1.4
R. Sean Bowman
sean.bowman@acm.org
Wed, 5 Feb 2003 23:31:19 -0500
Update of /cvs-repository/Zope3/src/zope/app/index/tests
In directory cvs.zope.org:/tmp/cvs-serv8752/zope/app/index/tests
Modified Files:
test_objectretrievingprocessor.py
Log Message:
changed service names to use strings defined in
zope/component/servicenames.py, changed the name of
ErrorReportingService to ErrorReports
=== Zope3/src/zope/app/index/tests/test_objectretrievingprocessor.py 1.3 => 1.4 ===
--- 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 Wed Feb 5 23:30:47 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: