MCPcopy Create free account
hub / github.com/modelscope/modelscope / gather_test_suites_files

Function gather_test_suites_files

tests/run.py:112–119  ·  view source on GitHub ↗
(test_dir, pattern)

Source from the content-addressed store, hash-verified

110
111
112def gather_test_suites_files(test_dir, pattern):
113 case_file_list = []
114 for dirpath, dirnames, filenames in os.walk(test_dir):
115 for file in filenames:
116 if fnmatch(file, pattern):
117 case_file_list.append(file)
118
119 return case_file_list
120
121
122def collect_test_results(case_results):

Callers 1

run_in_subprocessFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…