Log message for revision 68654:
  New test that acquired attributes gets shadowed.
  

Changed:
  U   
Products.Five/branches/regebro-traversalfix/browser/tests/test_traversable.py

-=-
Modified: 
Products.Five/branches/regebro-traversalfix/browser/tests/test_traversable.py
===================================================================
--- 
Products.Five/branches/regebro-traversalfix/browser/tests/test_traversable.py   
    2006-06-15 13:55:58 UTC (rev 68653)
+++ 
Products.Five/branches/regebro-traversalfix/browser/tests/test_traversable.py   
    2006-06-15 14:47:15 UTC (rev 68654)
@@ -206,6 +206,13 @@
       ...       attribute="eagle"
       ...       permission="zope2.Public"
       ...       />
+      ...   <browser:page
+      ...       name="mouse"
+      ...       for="OFS.interfaces.IObjectManager"
+      ...       class="Products.Five.browser.tests.pages.SimpleView"
+      ...       attribute="mouse"
+      ...       permission="zope2.Public"
+      ...       />
       ... </configure>'''
       >>> import Products.Five
       >>> from Products.Five import zcml
@@ -262,6 +269,17 @@
       ...
       The eagle has landed
 
+    However, acquired attributes *should* be shadowed. See discussion on
+    http://codespeak.net/pipermail/z3-five/2006q2/001474.html
+    
+      >>> manage_addIndexSimpleContent(self.folder, 'mouse', 'Mouse')
+      >>> print http(r'''
+      ... GET /test_folder_1_/ftf/mouse HTTP/1.1
+      ... ''')
+      HTTP/1.1 200 OK
+      ...
+      The mouse has been eaten by the eagle
+      
     Clean up:
 
       >>> from zope.app.testing.placelesssetup import tearDown

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to