def iter_suites(package):
    for module in find_modules(package, include_packages=True):
        mod = __import__(module, fromlist=['*'])
        if hasattr(mod, 'suite'):
            yield mod.suite()
Yields all testsuites.
dataset/ETHPy150Open tony/tmuxp/tmuxp/testsuite/__init__.py/iter_suites