[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests - placelesssetup.py:1.3

Jim Fulton jim at zope.com
Sun Sep 21 13:31:40 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/container/tests
In directory cvs.zope.org:/tmp/cvs-serv13336/src/zope/app/container/tests

Modified Files:
	placelesssetup.py 
Log Message:
No longer use zope-container adapters.

No just set up the name chooser.


=== Zope3/src/zope/app/container/tests/placelesssetup.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/container/tests/placelesssetup.py:1.2	Thu Jun  5 08:41:55 2003
+++ Zope3/src/zope/app/container/tests/placelesssetup.py	Sun Sep 21 13:31:39 2003
@@ -16,12 +16,11 @@
 $Id$
 """
 from zope.component.adapter import provideAdapter
-from zope.app.container.zopecontainer import ZopeContainerDecorator
-from zope.app.interfaces.context import IZopeContextWrapper
-from zope.app.interfaces.container import IContainer
+from zope.app.interfaces.container import IWriteContainer
+from zope.app.interfaces.container import INameChooser
+from zope.app.container.contained import NameChooser
 
 class PlacelessSetup:
 
     def setUp(self):
-        provideAdapter(
-            IContainer, IZopeContextWrapper, ZopeContainerDecorator)
+        provideAdapter(IWriteContainer, INameChooser, NameChooser)




More information about the Zope3-Checkins mailing list