def make_suite(path=test_dir):
 loader = unittest.TestLoader()
 python_module_names = get_python_module_names(os.listdir(path))
 test_module_names = get_test_module_names(python_module_names)
 suite = loader.loadTestsFromNames(test_module_names)
 return suite

def make_suite ( path = test_dir ) : loader = unittest . TestLoader ( ) python_module_names = get_python_module_names ( os . listdir ( path ) ) test_module_names = get_test_module_names ( python_module_names ) suite = loader . loadTestsFromNames ( test_module_names ) return suite
create the test suite for the given path .