[Zope-Checkins]
SVN: Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/
Fix typo and adjust to new name of template class
Philipp von Weitershausen
philikon at philikon.de
Sat Jul 28 10:55:53 EDT 2007
Log message for revision 78428:
Fix typo and adjust to new name of template class
Changed:
U Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/pages.txt
U Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/template_variables.pt
-=-
Modified: Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/pages.txt
===================================================================
--- Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/pages.txt 2007-07-28 14:55:04 UTC (rev 78427)
+++ Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/pages.txt 2007-07-28 14:55:52 UTC (rev 78428)
@@ -157,7 +157,7 @@
>>> print view()
View is a view: True
Context is testoid: True
- Contaxt.aq_parent is test_folder_1_: True
+ Context.aq_parent is test_folder_1_: True
Container is context: True
Here is context: True
Nothing is None: True
Modified: Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/template_variables.pt
===================================================================
--- Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/template_variables.pt 2007-07-28 14:55:04 UTC (rev 78427)
+++ Zope/branches/philikon-aq/lib/python/Products/Five/browser/tests/template_variables.pt 2007-07-28 14:55:52 UTC (rev 78428)
@@ -1,7 +1,7 @@
View is a view: <tal:block
content="python:hasattr(view,'context') and hasattr(view, 'request')" />
Context is testoid: <tal:block content="python:context.id == 'testoid'" />
-Contaxt.aq_parent is test_folder_1_: <tal:block
+Context.aq_parent is test_folder_1_: <tal:block
content="python:context.aq_parent.id =='test_folder_1_'" />
Container is context: <tal:block content="python:container is context" />
Here is context: <tal:block content="python:here is context"/>
@@ -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' 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