Added a test case for the saxutils.prepare_input_source setSystemId bug.

This commit is contained in:
Lars Gustäbel 2000-10-24 16:00:22 +00:00
parent 4ced5e7675
commit 0702507ea2
2 changed files with 14 additions and 1 deletions

View file

@ -185,6 +185,18 @@ def test_filter_basic():
#
# ===========================================================================
# ===== XMLReader support
def test_expat_file():
parser = create_parser()
result = StringIO()
xmlgen = XMLGenerator(result)
parser.setContentHandler(xmlgen)
parser.parse(open(findfile("test.xml")))
return result.getvalue() == xml_test_out
# ===== DTDHandler support
class TestDTDHandler: