def makeTests(testDataDir, testClass, fnmatchGlob="*"):
    for localId in os.listdir(testDataDir):
        if (fnmatch.fnmatch(localId, fnmatchGlob) and
                not fnmatch.fnmatch(localId, '*.json') and
                not localId.startswith(".")):  # hidden files start with `.`
            path = os.path.join(testDataDir, localId)
            tester = testClass(localId, path)
            for name, _ in inspect.getmembers(testClass):
                if name.startswith("test"):
                    yield _wrapTestMethod(getattr(tester, name))
missing_folders(['a/b/c']) => ['a', 'a/b', 'a/b/c']
dataset/ETHPy150Open ga4gh/server/tests/datadriven/__init__.py/makeTests--crossover with--dataset/ETHPy150Open fabric/fabric/tests/server.py/missing_folders