def get_TestSuite_from_module(mod, config):
    for methname in ("get_suite", "GetSuite"):
        try:
            meth = getattr(mod, methname)
            return meth(config)
        except AttributeError:
            continue
    raise module.ObjectImportError("Module %r does not have a get_suite() function." % (module,))
Get an existing suite from a module.
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/testloader.py/get_TestSuite_from_module