MCPcopy Create free account
hub / github.com/apache/cloudstack / _generate_file_list

Function _generate_file_list

tools/marvin/xunit-reader.py:61–71  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

59
60
61def _generate_file_list(args):
62 path = args.pop('path')
63 file_path_list = []
64 if path.endswith('.xml') and os.path.isfile(path):
65 file_path_list.append(path)
66 for (root, dirnames, filenames) in os.walk(path):
67 for filename in filenames:
68 if filename.endswith('.xml'):
69 file_path_list.append(os.path.join(root, filename))
70
71 return file_path_list
72
73
74def parse_reports(file_path_list):

Callers 1

mainFunction · 0.85

Calls 2

appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected