tests: fix failing tests

Regression caused by changing the way images are converted to grayscale
in 9730aa5c
This commit is contained in:
rr- 2018-07-25 19:53:37 +02:00
parent 6a6c4dc822
commit b1a20a7134

View file

@ -24,5 +24,5 @@ def test_hashing(read_asset, config_injector):
assert results_exact[0].score == 63
assert results_exact[0].distance == 0
assert results_similar[0].path == 'test'
assert results_similar[0].score == 26
assert abs(results_similar[0].distance - 0.189390583) < 1e-8
assert results_similar[0].score == 17
assert abs(results_similar[0].distance - 0.20599895341812172) < 1e-8