move sections
[python/dscho.git] / Lib / test / xmltests.py
blobd203709221f68ac2daa8de8a8dbe4b58bcd9f4f3
1 # Convenience test module to run all of the XML-related tests in the
2 # standard library.
4 import sys
5 import test.test_support
7 test.test_support.verbose = 0
9 def runtest(name):
10 __import__(name)
11 module = sys.modules[name]
12 if hasattr(module, "test_main"):
13 module.test_main()
15 runtest("test.test_minidom")
16 runtest("test.test_pyexpat")
17 runtest("test.test_sax")
18 runtest("test.test_xml_etree")
19 runtest("test.test_xml_etree_c")
20 runtest("test.test_xmllib")
21 runtest("test.test_xmlrpc")