[Zope3-checkins]
SVN: Zope3/branches/jim-adapter/src/zope/app/testing/back35.py
Services are gone
Jim Fulton
jim at zope.com
Fri Apr 21 12:37:24 EDT 2006
Log message for revision 67224:
Services are gone
Changed:
U Zope3/branches/jim-adapter/src/zope/app/testing/back35.py
-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/testing/back35.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/testing/back35.py 2006-04-21 16:23:50 UTC (rev 67223)
+++ Zope3/branches/jim-adapter/src/zope/app/testing/back35.py 2006-04-21 16:37:24 UTC (rev 67224)
@@ -19,7 +19,6 @@
from zope.app import zapi
import zope.interface
from zope.component.service import IService
-from zope.app.site.interfaces import ISimpleService
from zope.app.component.site import UtilityRegistration
from zope.app.component.back35 import ActiveStatus
@@ -28,10 +27,6 @@
This utility is useful for tests that need to set up services.
"""
- # Most local services implement ISimpleService in ZCML; therefore make
- # sure we got it here as well.
- zope.interface.directlyProvides(service, ISimpleService)
-
default = zapi.traverse(servicemanager, 'default')
default[name+suffix] = service
registration = UtilityRegistration(name, IService, service, default)
More information about the Zope3-Checkins
mailing list