def pyUnitTests():
    s = unittest.TestSuite()
    for (filename, test_num, expected, case) in getCases():
        s.addTest(_TestCase(filename, str(test_num), expected, case))
    return s
Make a pyunit TestSuite from a file defining test cases.
dataset/ETHPy150Open adieu/python-openid/openid/test/test_parsehtml.py/pyUnitTests