blob: 0bfcba181e825f806eec7759eaec15334d31c907 [file] [log] [blame]
Fred Drake867de942002-06-25 19:20:10 +00001# Convenience test module to run all of the XML-related tests in the
2# standard library.
3
4import sys
Benjamin Petersonee8712c2008-05-20 21:35:26 +00005import test.support
Fred Drake3a159a82002-06-26 15:16:16 +00006
Benjamin Petersonee8712c2008-05-20 21:35:26 +00007test.support.verbose = 0
Fred Drake867de942002-06-25 19:20:10 +00008
9def runtest(name):
10 __import__(name)
11 module = sys.modules[name]
12 if hasattr(module, "test_main"):
13 module.test_main()
14
15runtest("test.test_minidom")
16runtest("test.test_pyexpat")
17runtest("test.test_sax")
Fredrik Lundh7e0aef02005-12-12 18:54:55 +000018runtest("test.test_xml_etree")
Fredrik Lundh9235ea42005-12-15 18:41:22 +000019runtest("test.test_xml_etree_c")
Fred Drake867de942002-06-25 19:20:10 +000020runtest("test.test_xmlrpc")