MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / test_checksum_md5

Method test_checksum_md5

tests/commoncode/test_hash.py:95–97  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

93 assert "3ca69e8d6c234a469d16ac28a4a658c92267c423" == checksum(test_file, "sha1")
94
95 def test_checksum_md5(self):
96 test_file = self.get_test_loc("hash/dir1/a.txt")
97 assert "40c53c58fdafacc83cfff6ee3d2f6d69" == checksum(test_file, "md5")
98
99 def test_multi_checksums(self):
100 test_file = self.get_test_loc("hash/dir1/a.png")

Callers

nothing calls this directly

Calls 2

checksumFunction · 0.90
get_test_locMethod · 0.80

Tested by

no test coverage detected