[Zope-Checkins]
SVN: Products.Five/branches/philikon-viewzpt-refactor/browser/tests/template_variables.pt
Don't use template.aq_base (the template isn't acquisitionish
anymore)
Philipp von Weitershausen
philikon at philikon.de
Sat Jun 10 14:49:38 EDT 2006
Log message for revision 68575:
Don't use template.aq_base (the template isn't acquisitionish anymore)
and adjust accordign to new class name
Changed:
U Products.Five/branches/philikon-viewzpt-refactor/browser/tests/template_variables.pt
-=-
Modified: Products.Five/branches/philikon-viewzpt-refactor/browser/tests/template_variables.pt
===================================================================
--- Products.Five/branches/philikon-viewzpt-refactor/browser/tests/template_variables.pt 2006-06-10 18:48:37 UTC (rev 68574)
+++ Products.Five/branches/philikon-viewzpt-refactor/browser/tests/template_variables.pt 2006-06-10 18:49:37 UTC (rev 68575)
@@ -10,7 +10,7 @@
Root is the application: <tal:block
replace="python:repr(root).find('Application') != -1" />
Template is a template: <tal:block
- replace="python:repr(template.aq_base).startswith('<ZopeTwoPageTemplateFile')" />
+ replace="python:'ViewPageTemplateFile object' in repr(template)" />
Traverse_subpath exists and is empty: <tal:block
replace="python:traverse_subpath == []" />
Request is a request: <tal:block
More information about the Zope-Checkins
mailing list