[Zope-Checkins] SVN: Products.Five/branches/regebro-traversalfix/ *
Added tests to make sure that views are not blocked by
acquired attributes.
Lennart Regebro
cvs-admin at zope.org
Mon Jun 19 07:19:34 EDT 2006
Log message for revision 68748:
* Added tests to make sure that views are not blocked by acquired attributes.
* Changed the tests to reflect that defaultView no only works for views
(and not on attributes).
Changed:
U Products.Five/branches/regebro-traversalfix/CHANGES.txt
U Products.Five/branches/regebro-traversalfix/browser/tests/test_defaultview.py
-=-
Modified: Products.Five/branches/regebro-traversalfix/CHANGES.txt
===================================================================
--- Products.Five/branches/regebro-traversalfix/CHANGES.txt 2006-06-19 11:12:18 UTC (rev 68747)
+++ Products.Five/branches/regebro-traversalfix/CHANGES.txt 2006-06-19 11:19:30 UTC (rev 68748)
@@ -8,7 +8,12 @@
* Added Five.browser.pagetemplatefile.ViewPageTemplateFile as an alias
to ZopeTwoPageTemplateFile and as a Zope 2 correspondence to
zope.app.pagetemplate.ViewPageTemplateFile.
+
+* Added tests to make sure that views are not blocked by acquired attributes.
+* Changed the tests to reflect that defaultView no only works for views
+ (and not on attributes).
+
Five 1.5c (2006-05-29)
======================
Modified: Products.Five/branches/regebro-traversalfix/browser/tests/test_defaultview.py
===================================================================
--- Products.Five/branches/regebro-traversalfix/browser/tests/test_defaultview.py 2006-06-19 11:12:18 UTC (rev 68747)
+++ Products.Five/branches/regebro-traversalfix/browser/tests/test_defaultview.py 2006-06-19 11:19:30 UTC (rev 68748)
@@ -88,15 +88,14 @@
...
The mouse has been eaten by the eagle
- This tests whether an existing ``index_html`` method is still
- supported and called:
-
+ In Five 1.5 ``index_html`` you can no longer set default views to anything
+ else than views:
+
>>> print http(r'''
... GET /test_folder_1_/testindex HTTP/1.1
... ''')
- HTTP/1.1 200 OK
+ HTTP/1.1 404 Not Found
...
- Default index_html called
Disabled __call__ overriding for now. Causes more trouble than it
fixes. Thus, no test here:
More information about the Zope-Checkins
mailing list