[Zope3-checkins] CVS: Zope3/src/zope/app/tests -
placelesssetup.py:1.16
Philipp von Weitershausen
philikon at philikon.de
Mon May 10 02:35:36 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv4365/tests
Modified Files:
placelesssetup.py
Log Message:
Added AbsoluteURL view providing IAbsoluteURL to PlacelessSetup.
=== Zope3/src/zope/app/tests/placelesssetup.py 1.15 => 1.16 ===
--- Zope3/src/zope/app/tests/placelesssetup.py:1.15 Tue Apr 27 06:53:47 2004
+++ Zope3/src/zope/app/tests/placelesssetup.py Mon May 10 02:35:35 2004
@@ -25,6 +25,7 @@
from zope.app.container.tests.placelesssetup \
import PlacelessSetup as ContainerPlacelessSetup
from zope.app.security._protections import protect
+from zope.app.traversing.browser.interfaces import IAbsoluteURL
from zope.app.traversing.browser.absoluteurl import AbsoluteURL
class PlacelessSetup(CAPlacelessSetup,
@@ -42,6 +43,7 @@
protect()
ztapi.browserView(None, 'absolute_url', AbsoluteURL)
+ ztapi.browserViewProviding(None, AbsoluteURL, IAbsoluteURL)
from zope.app.security.tests import addCheckerPublic
addCheckerPublic()
More information about the Zope3-Checkins
mailing list