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

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


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

Modified Files:
	test_htmlparser.py 
Log Message:
Add regression test for the typo-buglet Jeremy fixed, and fix the bug that
uncovered.


=== Zope/lib/python/TAL/tests/test_htmlparser.py 1.18 => 1.19 ===
--- 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:13:48 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():