From 2c6643b344d9c1d1d74a7647199c72d0d1158357 Mon Sep 17 00:00:00 2001 From: "c.winger" Date: Fri, 13 Sep 2024 12:05:06 +0200 Subject: [PATCH] fix tests --- tests/test_api_data.py | 2 +- tests/test_opt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_api_data.py b/tests/test_api_data.py index 5d5dc33..363401f 100644 --- a/tests/test_api_data.py +++ b/tests/test_api_data.py @@ -475,7 +475,7 @@ def test_get_calculation_data_w_opt(ptxdata_dir, scenario, kwargs, request): }, "context": {"source_region_code": "ARG", "target_country_code": "DEU"}, "flh_opt_hash": { - "hash_md5": "c43c05538b6edb06c61f497c70b14b85", + "hash_md5": "10f4f69711354343d67b81a86ae20cf3", }, } diff --git a/tests/test_opt.py b/tests/test_opt.py index 79e0abf..da05af6 100644 --- a/tests/test_opt.py +++ b/tests/test_opt.py @@ -334,7 +334,7 @@ def test_prepare_data_for_optimize_incl_sec_proc(): assert not opt_metadata["opt_input_data"].get("CO2") assert opt_metadata["opt_input_data"].get("H2O") # will change if data changes - assert hash_sum == "8e0a568eb9452895540e81e10061dd9f" + assert hash_sum == "372bfe666946ac49f751d0656a670421" # actually call optimizer as in PtxOpt.get_data() opt_output_data, _network = optimize(