[ZPT] CVS: Zope/lib/python/TAL/tests - test_htmlparser.py:1.18.12.1

Fred L. Drake, Jr. fdrake@acm.org
Wed, 25 Sep 2002 12:26:06 -0400


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

Modified Files:
      Tag: Zope-2_5-branch
	test_htmlparser.py 
Log Message:
Add regression test for the typo-buglet Jeremy fixed in Zope 2.6 and newer,
and fix the bug that uncovered (which also existed in Zope 2.5).


=== Zope/lib/python/TAL/tests/test_htmlparser.py 1.18 => 1.18.12.1 ===
--- Zope/lib/python/TAL/tests/test_htmlparser.py:1.18	Mon Dec  3 11:43:41 2001
+++ Zope/lib/python/TAL/tests/test_htmlparser.py	Wed Sep 25 12:26:05 2002
@@ -294,6 +294,12 @@
             ("endtag", "script"),
             ])
 
+    def check_enumerated_attr_type(self):
+        s = "<!DOCTYPE doc [<!ATTLIST doc attr (a | b) >]>"
+        self._run_check(s, [
+            ('decl', 'DOCTYPE doc [<!ATTLIST doc attr (a | b) >]'),
+            ])
+
 
 # Support for the Zope regression test framework:
 def test_suite():