2002-06-25 16:20:10 -03:00
|
|
|
# Convenience test module to run all of the XML-related tests in the
|
|
|
|
# standard library.
|
|
|
|
|
|
|
|
import sys
|
2008-05-20 18:35:26 -03:00
|
|
|
import test.support
|
2002-06-26 12:16:16 -03:00
|
|
|
|
2008-05-20 18:35:26 -03:00
|
|
|
test.support.verbose = 0
|
2002-06-25 16:20:10 -03:00
|
|
|
|
|
|
|
def runtest(name):
|
|
|
|
__import__(name)
|
|
|
|
module = sys.modules[name]
|
|
|
|
if hasattr(module, "test_main"):
|
|
|
|
module.test_main()
|
|
|
|
|
|
|
|
runtest("test.test_minidom")
|
|
|
|
runtest("test.test_pyexpat")
|
|
|
|
runtest("test.test_sax")
|
2013-04-10 13:30:11 -03:00
|
|
|
runtest("test.test_xml_dom_minicompat")
|
2005-12-12 14:54:55 -04:00
|
|
|
runtest("test.test_xml_etree")
|
2005-12-15 14:41:22 -04:00
|
|
|
runtest("test.test_xml_etree_c")
|
2002-06-25 16:20:10 -03:00
|
|
|
runtest("test.test_xmlrpc")
|