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

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


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

Modified Files:
      Tag: Zope-2_7-branch
	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.6.12.2 => 1.6.12.3 ===
--- Releases/Zope/lib/python/TAL/tests/test_talinterpreter.py:1.6.12.2	Fri Aug 15 10:14:40 2003
+++ Releases/Zope/lib/python/TAL/tests/test_talinterpreter.py	Wed Oct  1 13:14:57 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