MCPcopy
hub / github.com/kubernetes/test-infra / test_parse_junit

Method test_parse_junit

kettle/make_json_test.py:678–682  ·  view source on GitHub ↗
(self, _, path, expected)

Source from the content-addressed store, hash-verified

676 )
677 ])
678 def test_parse_junit(self, _, path, expected):
679 self.maxDiff = None
680 datasource = open(path)
681 failures = make_json.parse_junit(datasource.read())
682 self.assertEqual(list(failures), expected)
683
684if __name__ == '__main__':
685 unittest.main()

Callers

nothing calls this directly

Calls 2

openFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected