[Checkins] SVN: Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/tests/test_edges.py These tags are no longer allowed to be self-closing; updating test case.

Malthe Borch mborch at gmail.com
Tue Nov 18 06:16:25 EST 2008


Log message for revision 93077:
  These tags are no longer allowed to be self-closing; updating test case.

Changed:
  U   Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/tests/test_edges.py

-=-
Modified: Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/tests/test_edges.py
===================================================================
--- Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/tests/test_edges.py	2008-11-18 11:15:47 UTC (rev 93076)
+++ Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/tests/test_edges.py	2008-11-18 11:16:25 UTC (rev 93077)
@@ -11,7 +11,7 @@
         <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:py="http://genshi.edgewall.org/">
         <title>\xc2\xa9</title>
-        <div id="${foo}" py:attrs="dict(label=foo)"/>
+        <div id="${foo}" py:attrs="dict(label=foo)"></div>
         </html>
         """
         expected = """
@@ -19,7 +19,7 @@
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         <html xmlns="http://www.w3.org/1999/xhtml">
         <title>\xc2\xa9</title>
-        <div label="\xc2\xa9" id="\xc2\xa9"/>
+        <div label="\xc2\xa9" id="\xc2\xa9"></div>
         </html>"""
         c = unicode('\xc2\xa9', 'utf-8')
         result = render_template(body, foo=c).encode('utf-8')



More information about the Checkins mailing list