Skip to content

Commit

Permalink
Update tests for #213
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Aug 6, 2024
1 parent cb34f4b commit 9c7c633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions message_ix_models/tests/model/transport/test_ldv.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ def test_get_ldv_data(tmp_path, test_context, source, regions, years):

# Data are returned for the following parameters
exp_pars = {
"bound_new_capacity_lo",
"bound_new_capacity_up",
"capacity_factor",
"growth_activity_lo",
"growth_activity_up",
"historical_new_capacity",
"input",
"output",
"var_cost",
Expand All @@ -77,8 +79,6 @@ def test_get_ldv_data(tmp_path, test_context, source, regions, years):
"relation_activity",
"technical_lifetime",
}
if regions == "R12":
exp_pars |= {"bound_new_capacity_lo", "historical_new_capacity"}

assert exp_pars == set(data.keys())

Expand Down

0 comments on commit 9c7c633

Please sign in to comment.