MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / test_purl_hash

Function test_purl_hash

aboutcode/hashid/tests/test_hashid.py:52–54  ·  view source on GitHub ↗
(purl, purl_hash)

Source from the content-addressed store, hash-verified

50 ],
51)
52def test_purl_hash(purl, purl_hash):
53 result_hash, *_ = package_path_elements(purl)
54 assert result_hash == purl_hash

Callers

nothing calls this directly

Calls 1

package_path_elementsFunction · 0.90

Tested by

no test coverage detected