[Zope3-checkins] CVS: Zope3/src/zope/app/tests - setup.py:1.17
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Mar 11 07:38:53 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv2726/src/zope/app/tests
Modified Files:
setup.py
Log Message:
Moved utility service to zope.app.utility. Added module aliases, so that your
ZODB should be fine.
=== Zope3/src/zope/app/tests/setup.py 1.16 => 1.17 ===
--- Zope3/src/zope/app/tests/setup.py:1.16 Thu Mar 11 04:19:37 2004
+++ Zope3/src/zope/app/tests/setup.py Thu Mar 11 07:38:22 2004
@@ -152,7 +152,7 @@
zapi.traverse(default.getRegistrationManager(), key).status = ActiveStatus
return zapi.traverse(servicemanager, path)
-from zope.app.services.utility import UtilityRegistration
+from zope.app.utility import UtilityRegistration
def addUtility(servicemanager, name, iface, utility, suffix=''):
"""Add a utility to a service manager
@@ -173,11 +173,10 @@
from zope.app.event.interfaces import ISubscriptionService
from zope.app.event.localservice import EventService
from zope.app.hub import ObjectHub
-from zope.app.interfaces.services.utility import ILocalUtilityService
-from zope.app.services.utility import LocalUtilityService
-from zope.app.services.servicenames import HubIds
+from zope.app.utility.interfaces import ILocalUtilityService
+from zope.app.utility import LocalUtilityService
+from zope.app.services.servicenames import HubIds, Utilities
from zope.app.services.servicenames import EventPublication, EventSubscription
-from zope.app.services.servicenames import Utilities
def createStandardServices(folder, hubids=None):
'''Create a bunch of standard placeful services
More information about the Zope3-Checkins
mailing list