From 9616a5d131e86ba3a6b7912ef3288ba676ba2201 Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Tue, 6 Aug 2024 16:32:58 +0200 Subject: [PATCH] Update tests for #213 --- message_ix_models/tests/model/transport/test_ldv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/message_ix_models/tests/model/transport/test_ldv.py b/message_ix_models/tests/model/transport/test_ldv.py index 803bcf4d79..86c94fc031 100644 --- a/message_ix_models/tests/model/transport/test_ldv.py +++ b/message_ix_models/tests/model/transport/test_ldv.py @@ -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", @@ -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())