diff --git a/tests/test_clustering.py b/tests/test_clustering.py index 93b1ce970054d483c9354a4f6c094e47519fbe58..473ef484821b99901d9919bc3f9dc2625ca7a351 100644 --- a/tests/test_clustering.py +++ b/tests/test_clustering.py @@ -19,7 +19,7 @@ class TestClusteringAlgorithm(unittest.TestCase): result = self.algorithm.processAlgorithm(parameters, self.context, self.feedback) expected_result_path = os.path.join(self.algorithm.output_dir,'cluster.tif') result_file_hash = get_file_md5_hash(expected_result_path) - assert result_file_hash == 'ecb1e17173b1601866ae7055694739e8' + assert result_file_hash == '0c47b0c4b4c13902db5da3ee6e5d4aef' os.remove(expected_result_path) diff --git a/tests/test_reduction.py b/tests/test_reduction.py index d9a9670902076cf2660ed5d5847a67f06fd89a25..e5dd075a260ab039cee04bf9f128067fca955eb3 100644 --- a/tests/test_reduction.py +++ b/tests/test_reduction.py @@ -21,7 +21,11 @@ class TestReductionAlgorithm(unittest.TestCase): expected_result_path = os.path.join(self.algorithm.output_dir,'proj.tif') result_file_hash = get_file_md5_hash(expected_result_path) ## different rasterio versions lead to different hashes ? - possible_hashes = [ '5eef4ea313d45b12beba8a7b9e2500ba', '743465d291bd2ada6ea9807752c6e7fe'] + possible_hashes = [ + # '5eef4ea313d45b12beba8a7b9e2500ba', + # '743465d291bd2ada6ea9807752c6e7fe', + 'd7a32c6b7a4cee1af9c73607561d7b25', + ] assert result_file_hash in possible_hashes # assert result_file_hash == '5eef4ea313d45b12beba8a7b9e2500ba' os.remove(expected_result_path)