MCPcopy Create free account
hub / github.com/modelscope/FunASR / main

Function main

tests/run_test.py:37–45  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

35
36
37def main(args):
38 runner = unittest.TextTestRunner()
39 test_suite = gather_test_cases(os.path.abspath(args.test_dir), args.pattern, args.list_tests)
40 if not args.list_tests:
41 result = runner.run(test_suite)
42 if len(result.failures) > 0:
43 sys.exit(len(result.failures))
44 if len(result.errors) > 0:
45 sys.exit(len(result.errors))
46
47
48if __name__ == "__main__":

Callers 1

run_test.pyFile · 0.70

Calls 2

gather_test_casesFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…