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

Function try_success

test/cli/lookup_test.py:463–465  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

461 f = format_path(f)
462 return "try to load platform file '{}' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}".format(f, f)
463 def try_success(f):
464 f = format_path(f)
465 return "try to load platform file '{}' ... Success".format(f)
466 lines = stdout.replace('\\', '/').replace('"', '\'').splitlines()
467 assert lines == [
468 "looking for platform 'avr8.xml'",

Callers 2

test_lookup_pathFunction · 0.85

Calls 2

format_pathFunction · 0.85
formatMethod · 0.80

Tested by

no test coverage detected