(hasher)
| 116 | |
| 117 | |
| 118 | def test_encode_image_valerror_wrong_input(hasher): |
| 119 | pil_im = Image.open(PATH_SINGLE_IMAGE) |
| 120 | with pytest.raises(ValueError): |
| 121 | hasher.encode_image(image_file=pil_im) |
| 122 | |
| 123 | |
| 124 | def test_encode_image_valerror_wrong_input_array(hasher): |
nothing calls this directly
no test coverage detected