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

def loadTestsFromModule(self, module):

    tests = []
    for name in dir(module):
        obj = getattr(module, name)
        if (isinstance(obj, type) and issubclass(obj, TestCase)):
            tests.append(self.loadTestsFromTestCase(obj))
    return self.suiteClass(tests)
