def find_all_tests(suite):
    suites = [suite]
    while suites:
        s = suites.pop()
        try:
            suites.extend(s)
        except TypeError:
            yield s, '%s.%s.%s' % (
                s.__class__.__module__,
                s.__class__.__name__,
                s._testMethodName
            )
Yields all the tests and their names from a given suite.
dataset/ETHPy150Open tony/tmuxp/tmuxp/testsuite/__init__.py/find_all_tests