[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - placefulsetup.py:1.12

Guido van Rossum guido@python.org
Mon, 10 Mar 2003 17:35:06 -0500


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

Modified Files:
	placefulsetup.py 
Log Message:
SiteAbsoluteURL should be provided for IContainmentRoot, not
for IRootFolder (which is a subinterface thereof).


=== Zope3/src/zope/app/services/tests/placefulsetup.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/services/tests/placefulsetup.py:1.11	Sat Mar  8 16:46:09 2003
+++ Zope3/src/zope/app/services/tests/placefulsetup.py	Mon Mar 10 17:35:06 2003
@@ -45,6 +45,7 @@
 from zope.app.interfaces.annotation import IAttributeAnnotatable
 from zope.app.interfaces.annotation import IAnnotations
 from zope.app.interfaces.dependable import IDependable
+from zope.app.interfaces.traversing import IContainmentRoot
 from zope.app.dependable import Dependable
 
 class PlacefulSetup(PlacelessSetup):
@@ -80,7 +81,7 @@
 
         provideView(None, "absolute_url", IBrowserPresentation,
                     AbsoluteURL)
-        provideView(IRootFolder, "absolute_url", IBrowserPresentation,
+        provideView(IContainmentRoot, "absolute_url", IBrowserPresentation,
                     SiteAbsoluteURL)