Log message for revision 85454:
  Corrected test with expected output
  

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
 2008-04-17 08:41:12 UTC (rev 85453)
+++ 
Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/aqlegacy_ftest.txt
 2008-04-17 09:55:48 UTC (rev 85454)
@@ -186,18 +186,15 @@
 No arguments required
 =====================
 
-ViewPageTemplateFile's requires no arguments.
+ViewPageTemplateFile's require no arguments, but you can only use them as
+class variables:
 
-XXX This currently fails with:
-TypeError: __call__() takes at least 2 arguments (1 given)
-
-We do call the template class in our own view code, without passing in 'self'
-as an argument. This worked so far, as the Five version didn't require any
-arguments:
-
   >>> view = getMultiAdapter((self.folder, request), name='template_two')
   >>> print view()
-  <p>The falcon has taken flight</p>
+  Traceback (most recent call last):
+  ...
+  TypeError: __call__() takes at least 2 arguments (1 given)
+  
 
 
 Clean up

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

Reply via email to