[Checkins] SVN: Products.Five/trunk/component/ Made the __call__ method of ViewMixinForAttributes have the same signature as the original attribute. This aids some pathological request parameter marshalling. Thanks to Balazs Ree for the patch.

Alec Mitchell apm13 at columbia.edu
Sat Oct 28 17:56:39 EDT 2006


Log message for revision 70949:
  Made the __call__ method of ViewMixinForAttributes have the same signature as the original attribute.  This aids some pathological request parameter marshalling.  Thanks to Balazs Ree for the patch.
  

Changed:
  A   Products.Five/trunk/component/makesite.txt
  U   Products.Five/trunk/component/tests.py

-=-
Copied: Products.Five/trunk/component/makesite.txt (from rev 70948, Products.Five/branches/1.5/component/makesite.txt)

Modified: Products.Five/trunk/component/tests.py
===================================================================
--- Products.Five/trunk/component/tests.py	2006-10-28 21:33:42 UTC (rev 70948)
+++ Products.Five/trunk/component/tests.py	2006-10-28 21:56:38 UTC (rev 70949)
@@ -17,12 +17,15 @@
 """
 import unittest
 from zope.testing.doctestunit import DocFileSuite, DocTestSuite
+from Testing.ZopeTestCase import FunctionalDocFileSuite
 
 __docformat__ = "reStructuredText"
 
 def test_suite():
     return unittest.TestSuite([
         DocFileSuite('component.txt', package="Products.Five.component"),
+        FunctionalDocFileSuite('makesite.txt',
+                               package="Products.Five.component"),
         ])
 
 if __name__ == '__main__':



More information about the Checkins mailing list