MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / __create_source_file

Function __create_source_file

test/cli/metrics_test.py:35–39  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

33 return path
34
35def __create_source_file(tmpdir):
36 path = os.path.join(tmpdir, 'test.c')
37 with open(path, 'w') as _:
38 pass
39 return path
40
41def test_dummy_metrics_xml_report(tmpdir):
42 output_file = os.path.join(tmpdir, "results.xml")

Callers 2

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected