[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/tests - PlacefulSetup.py:1.4

Gary Poster garyposter@earthlink.net
Mon, 15 Jul 2002 16:34:52 -0400


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

Modified Files:
	PlacefulSetup.py 
Log Message:
Fixed a few binding and context bugs in the service manager.  I was in a huge rush and probably missed something.

Also added the etc namespace to the PlacefulSetup testing convenience file because it seemed necessary on a very basic level now--certainly these tests needed it.



=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/tests/PlacefulSetup.py 1.3 => 1.4 ===
     
     def setUp(self):
         PlacelessSetup.setUp(self)
+        # set up etc namespace
+        from Zope.App.Traversing.Namespaces import provideNamespaceHandler
+        from Zope.App.Traversing.EtcNamespace import etc
+        provideNamespaceHandler("etc", etc)
         # set up placeful hooks, saving originals for tearDown
         from Zope import ComponentArchitecture as CA
         self.__old_getServiceManager_hook = CA.getServiceManager_hook