[Zope3-checkins]
SVN: Zope3/branches/jim-adapter/src/zope/app/component/testing.py
Updated stub to reflect new site interface.
Jim Fulton
jim at zope.com
Sun Apr 2 12:59:57 EDT 2006
Log message for revision 66317:
Updated stub to reflect new site interface.
Changed:
U Zope3/branches/jim-adapter/src/zope/app/component/testing.py
-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/component/testing.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/component/testing.py 2006-04-02 16:59:55 UTC (rev 66316)
+++ Zope3/branches/jim-adapter/src/zope/app/component/testing.py 2006-04-02 16:59:56 UTC (rev 66317)
@@ -16,8 +16,8 @@
$Id$
"""
import zope.interface
-from zope.component import site
from zope.component.interfaces import IComponentLookup
+from zope.app.component.interfaces import ILocalSiteManager
from zope.app import zapi
from zope.app.testing import setup
from zope.app.testing.placelesssetup import PlacelessSetup
@@ -96,15 +96,15 @@
class SiteManagerStub(object):
- zope.interface.implements(IComponentLookup)
+ zope.interface.implements(ILocalSiteManager)
- next = None
+ __bases__ = ()
def __init__(self):
self._utils = {}
def setNext(self, next):
- self.next = next
+ self.__bases__ = (next, )
def provideUtility(self, iface, util, name=''):
self._utils[(iface, name)] = util
More information about the Zope3-Checkins
mailing list