[Checkins]
SVN: grok/branches/gotcha-configuration-actions/src/grok/ftests/security/require.py
Remove duplicate view. Thanks to configuration actions,
we actually get conflicts now :) .
Philipp von Weitershausen
philikon at philikon.de
Wed Oct 10 03:21:57 EDT 2007
Log message for revision 80763:
Remove duplicate view. Thanks to configuration actions, we actually get conflicts now :) .
Changed:
U grok/branches/gotcha-configuration-actions/src/grok/ftests/security/require.py
-=-
Modified: grok/branches/gotcha-configuration-actions/src/grok/ftests/security/require.py
===================================================================
--- grok/branches/gotcha-configuration-actions/src/grok/ftests/security/require.py 2007-10-10 06:45:14 UTC (rev 80762)
+++ grok/branches/gotcha-configuration-actions/src/grok/ftests/security/require.py 2007-10-10 07:21:57 UTC (rev 80763)
@@ -4,7 +4,7 @@
>>> from zope.testbrowser.testing import Browser
>>> browser = Browser()
- >>> browser.open("http://localhost/@@cavepainting")
+ >>> browser.open("http://localhost/@@painting")
Traceback (most recent call last):
HTTPError: HTTP Error 401: Unauthorized
@@ -15,7 +15,7 @@
... 'zope.Manager')
>>> browser.addHeader('Authorization', 'Basic mgr:mgrpw')
>>> browser.handleErrors = False
- >>> browser.open("http://localhost/@@cavepainting")
+ >>> browser.open("http://localhost/@@painting")
>>> print browser.contents
What a beautiful painting.
@@ -33,7 +33,7 @@
class ViewPainting(grok.Permission):
grok.name('grok.ViewPainting')
-class CavePainting(grok.View):
+class Painting(grok.View):
grok.context(zope.interface.Interface)
grok.require('grok.ViewPainting')
More information about the Checkins
mailing list