'Return a suite of all tests cases contained in the given module'

def loadTestsFromModule(self, module, use_load_tests=True):

    tests = []
    for name in dir(module):
        obj = getattr(module, name)
        if (isinstance(obj, type) and issubclass(obj, unittest.TestCase)):
            tests.append(self.loadTestsFromTestCase(obj))
    load_tests = getattr(module, 'load_tests', None)
    tests = self.suiteClass(tests)
    if (use_load_tests and (load_tests is not None)):
        try:
            return load_tests(self, tests, None)
        except Exception as e:
            return _make_failed_load_tests(module.__name__, e, self.suiteClass)
    return tests
