[Zope-Checkins] CVS: Zope3/lib/python/Zope/PageTemplate/tests/input - CheckNotExpression.html:1.1.2.1.18.1

Jim Fulton jim@zope.com
Fri, 26 Apr 2002 13:57:49 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate/tests/input
In directory cvs.zope.org:/tmp/cvs-serv19482/tests/input

Modified Files:
      Tag: SecurityProxy-branch
	CheckNotExpression.html 
Log Message:
Changed "not" tests to use tal:condition rather than tal:content
so that they work with Python 2.3 as well as earlier versions.
The value returned from a not: is always boolean, which prints
differently from ints.

Also got rid of a stupid "OFS" import.


=== Zope3/lib/python/Zope/PageTemplate/tests/input/CheckNotExpression.html 1.1.2.1 => 1.1.2.1.18.1 ===
 <head></head>
 <body>
-<div tal:content="not:python:0"></div>
-<div tal:content="not:python:1"></div>
-<div tal:content="not: python:1"></div>
-<div tal:content="not:python:range(1,20)"></div>
+<div tal:condition="not:python:0">not:python:0</div>
+<div tal:condition="not:python:1">not:python:1</div>
+<div tal:condition="not: python:1">not: python:1</div>
+<div tal:condition="not:python:range(1,20)">not:python:range(1,20)</div>
 </body>
 </html>