Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney committed Dec 1, 2023
1 parent 2461e94 commit 6fad721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/model/test_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_compute_pdq(self, mock_pdq_hasher):
image_content = file.read()
mock_hasher_instance = mock_pdq_hasher.return_value
mock_hasher_instance.fromBufferedImage.return_value.getHash.return_value.dumpBitsFlat.return_value = '1001'
result = Model.compute_pdq(io.BytesIO(image_content))
result = Model().compute_pdq(io.BytesIO(image_content))
self.assertEqual(result, '0011100000111011010110100001001110001011110100100010101011010111010110101010000111001010111000001010111111110000000101110010000011111110111110100100011111010010110110101111101100111001000000010010100101010111110001001101101011000110001000001110010000111100')

@patch("urllib.request.urlopen")
Expand Down

0 comments on commit 6fad721

Please sign in to comment.