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

Method test_checksum_sha1

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

Source from the content-addressed store, hash-verified

89 )
90
91 def test_checksum_sha1(self):
92 test_file = self.get_test_loc("hash/dir1/a.txt")
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")

Callers

nothing calls this directly

Calls 2

checksumFunction · 0.90
get_test_locMethod · 0.80

Tested by

no test coverage detected