[Zope-Checkins] SVN: Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt Adjusted the test, now that we fixed the most trivial error

Hanno Schlichting plone at hannosch.info
Tue Apr 15 17:21:42 EDT 2008

Log message for revision 85389:
  Adjusted the test, now that we fixed the most trivial error

  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	2008-04-15 21:21:08 UTC (rev 85388)
+++ Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt	2008-04-15 21:21:41 UTC (rev 85389)
@@ -173,12 +173,11 @@
   >>> print template(foo=1, bar=2)
   <p>The falcon has taken flight</p>
-XXX This fails currently with an error:
-TypeError: __call__() got multiple values for keyword argument 'instance'
+Passing in an argument called instance was supported by the old Five version
+of ViewPageTemplateFile, so we still need to support it.
-KSS is one example which passes in a keyword argument called 'instance' and
-the Five ViewPageTemplateFile supported it. In the zope.app.pagetemplate
-version, the first required argument is called instance.
+In the zope.app.pagetemplate version, the first required argument is called
+instance, though.
   >>> print template(instance='allowed')
   <p>The falcon has taken flight</p>

More information about the Zope-Checkins mailing list