Log message for revision 79430:
  Make sure that a viewlet inheriting from Explicit also has the right
  legacy attributes and they point to the right things.
  

Changed:
  U   
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.py

-=-
Modified: 
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.py
===================================================================
--- 
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.py    
    2007-09-01 20:16:02 UTC (rev 79429)
+++ 
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy.py    
    2007-09-01 20:25:48 UTC (rev 79430)
@@ -84,7 +84,10 @@
         self.request = request
 
     def update(self):
-        pass
+        # Make sure that the viewlet has the legacy attributes and
+        # they point to the right objects.
+        assert self.aq_parent == self.context
+        assert self.aq_base == self
 
     def render(self):
         return 'Viewlet inheriting from Explicit'

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

Reply via email to