[Zope-Checkins] CVS: Zope/lib/python/TAL/tests - test_htmlparser.py:1.18.82.1
Fred L. Drake, Jr.
fdrake@acm.org
Wed, 25 Sep 2002 12:17:50 -0400
Update of /cvs-repository/Zope/lib/python/TAL/tests
In directory cvs.zope.org:/tmp/cvs-serv28414/tests
Modified Files:
Tag: Zope-2_6-branch
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.18.82.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:17:49 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():