Log message for revision 79331: Re-enable test for __of__ Changed: U Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt
-=- Modified: Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt =================================================================== --- Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt 2007-08-28 21:37:05 UTC (rev 79330) +++ Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt 2007-08-28 21:41:29 UTC (rev 79331) @@ -46,13 +46,10 @@ >>> view.aq_inContextOf(object()) 0 -Let's try the __of__ protocol: +Views also still support the __of__ protocol, at least pro forma: - #>>> view = view.__of__(self.app) - #>>> view.aq_parent == self.folder - #False - #>>> view.aq_parent == self.app - #True + >>> view == view.__of__(self.app) + True Mixing in Acquisition.{Ex|Im}plicit ----------------------------------- _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins