Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wingechr committed Sep 13, 2024
1 parent 8b4c204 commit 2c6643b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}

Expand Down
2 changes: 1 addition & 1 deletion tests/test_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2c6643b

Please sign in to comment.