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

Method test_md5_checksum

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

Source from the content-addressed store, hash-verified

68 assert "095f5068940e41df9add5d4cc396c181" == md5(test_file)
69
70 def test_md5_checksum(self):
71 test_file = self.get_test_loc("hash/dir1/a.png")
72 assert "4760fb467f1ebf3b0aeace4a3926f1a4" == md5(test_file)
73
74 def test_sha1_checksum(self):
75 test_file = self.get_test_loc("hash/dir1/a.png")

Callers

nothing calls this directly

Calls 2

md5Function · 0.90
get_test_locMethod · 0.80

Tested by

no test coverage detected