[ZPT] CVS: Packages/TAL/tests - test_htmlparser.py:1.18

Fred Drake Jr fdrake@acm.org
Mon, 3 Dec 2001 11:43:41 -0500


Update of /cvs-repository/Packages/TAL/tests
In directory cvs.zope.org:/tmp/cvs-serv10658

Modified Files:
	test_htmlparser.py 
Log Message:
Add a test that makes sure unclosed entity references are handled consitently.

=== Packages/TAL/tests/test_htmlparser.py 1.17 => 1.18 ===
     ])
 
+    def check_unclosed_entityref(self):
+        self._run_check("&entityref foo", [
+            ("entityref", "entityref"),
+            ("data", " foo"),
+            ])
+
     def check_doctype_decl(self):
         inside = """\
 DOCTYPE html [