def load_tests(self):
        suite = self.loader.suiteClass()
        for start_dir in self.discover:
            suite.addTest(self.loader.discover(
                start_dir, pattern='*'))
        if self.names:
            suite.addTest(self.loader.loadTestsFromNames(self.names))
        return suite
Return a test suite.
dataset/ETHPy150Open python-hospital/hospital/hospital/cli.py/HealthCheckProgram.load_tests