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

Function __create_addon

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

Source from the content-addressed store, hash-verified

27]
28
29def __create_addon(tmpdir):
30 path = os.path.join(tmpdir, 'addon.py')
31 with open(path, 'w') as file:
32 file.write(__addon_source)
33 return path
34
35def __create_source_file(tmpdir):
36 path = os.path.join(tmpdir, 'test.c')

Callers 2

Calls 2

joinMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected