summaryrefslogtreecommitdiffstats
path: root/Lib/test/xmltests.py
blob: 70ca9225e0a8e0ae02811b1fb426a49bf18aa44d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Convenience test module to run all of the XML-related tests in the
# standard library.

import sys

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")
runtest("test.test_xmllib")
runtest("test.test_xmlrpc")