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

Jim Fulton jim at zope.com
Sun Sep 21 13:33:30 EDT 2003


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

Modified Files:
	placelesssetup.py 
Log Message:
Add absoluteurl.


=== Zope3/src/zope/app/tests/placelesssetup.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/tests/placelesssetup.py:1.6	Thu Jun  5 08:03:19 2003
+++ Zope3/src/zope/app/tests/placelesssetup.py	Sun Sep 21 13:33:29 2003
@@ -28,6 +28,9 @@
 from zope.app.container.tests.placelesssetup \
     import PlacelessSetup as ContainerPlaclessSetup
 from zope.app.security._protections import protect
+from zope.component.view import provideView
+from zope.publisher.browser import IBrowserPresentation
+from zope.app.browser.absoluteurl import AbsoluteURL
 
 class PlacelessSetup(CAPlacelessSetup,
                      ACAPlacelessSetup,
@@ -44,6 +47,9 @@
         I18nPlacelessSetup.setUp(self)
         # Register app-specific security declarations
         protect()
+
+        provideView(None, 'absolute_url', IBrowserPresentation, AbsoluteURL)
+        
 
 ps = PlacelessSetup()
 setUp = ps.setUp




More information about the Zope3-Checkins mailing list