[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/tests - testBindings.py:1.4.6.1

Suresh Babu Eddala sbabu@zeomega.com
Mon, 21 Oct 2002 12:21:33 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv15398/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/tests

Modified Files:
      Tag: Zope3-Bangalore-TTW-Branch
	testBindings.py 
Log Message:
Provided ZopeContainerAdapter


=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/tests/testBindings.py 1.4 => 1.4.6.1 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/tests/testBindings.py:1.4	Thu Jul 11 15:30:42 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/tests/testBindings.py	Mon Oct 21 12:21:33 2002
@@ -49,6 +49,10 @@
      import AbsoluteURL, SiteAbsoluteURL
 from Zope.Publisher.Browser.IBrowserPresentation import IBrowserPresentation
 from Zope.App.OFS.Content.Folder.RootFolder import IRootFolder
+from Zope.App.OFS.Container.IZopeContainer import IZopeContainer
+from Zope.App.OFS.Container.IContainer import IContainer
+from Zope.App.OFS.Container.ZopeContainerAdapter import ZopeContainerAdapter
+from Zope.ComponentArchitecture.GlobalAdapterService import provideAdapter
 
 
 class ITestService1(Interface): pass
@@ -67,6 +71,7 @@
 
     def setUp(self):
         PlacefulSetup.setUp(self)
+        provideAdapter(IContainer, IZopeContainer, ZopeContainerAdapter)
         self.buildFolders()
         self.createServiceManager()
         self.sm = sm = getServiceManager(self.rootFolder)