MCPcopy
hub / github.com/idealo/imagededup / test_encode_image_corrupt_file

Function test_encode_image_corrupt_file

tests/test_hashing.py:718–720  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

716
717
718def test_encode_image_corrupt_file():
719 whasher = WHash()
720 assert whasher.encode_image(PATH_SINGLE_IMAGE_CORRUPT) is None
721
722
723def test_encode_images_corrupt_and_good_images():

Callers

nothing calls this directly

Calls 2

WHashClass · 0.90
encode_imageMethod · 0.45

Tested by

no test coverage detected