[Zope-Checkins] CVS: Releases/Zope/lib/python/TAL/tests - test_talinterpreter.py:1.9

Evan Simpson evan at 4-am.com
Wed Oct 1 13:27:41 EDT 2003


Update of /cvs-repository/Releases/Zope/lib/python/TAL/tests
In directory cvs.zope.org:/tmp/cvs-serv12794/lib/python/TAL/tests

Modified Files:
	test_talinterpreter.py 
Log Message:
Completely fix bug #721 by using attrEscape instead of cgi.escape for
dynamic attribute values as well as static values.


=== Releases/Zope/lib/python/TAL/tests/test_talinterpreter.py 1.8 => 1.9 ===
--- Releases/Zope/lib/python/TAL/tests/test_talinterpreter.py:1.8	Fri Aug 15 09:58:43 2003
+++ Releases/Zope/lib/python/TAL/tests/test_talinterpreter.py	Wed Oct  1 13:27:40 2003
@@ -221,7 +221,7 @@
         self.compare(INPUT, EXPECTED)
 
     def check_entities(self):
-        INPUT = ('<img tal:define="foo nothing" '
+        INPUT = ('<img tal:attributes="alt default" '
                  'alt="&a; &#1; &#x0a; &a &#45 &; &#0a; <>" />')
         EXPECTED = ('<img alt="&a; &#1; &#x0a; '
                     '&amp;a &amp;#45 &amp;; &amp;#0a; &lt;&gt;" />\n')




More information about the Zope-Checkins mailing list