Skip to content

Commit 518a514

Browse files
committed
Update the length of the graphs in reporting tests
1 parent 2f09040 commit 518a514

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

message_ix/tests/test_reporting.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_reporter_from_scenario(message_test_mp):
5151
rep = Reporter.from_scenario(scen)
5252

5353
# Number of quantities available in a rudimentary MESSAGEix Scenario
54-
assert len(rep.graph["all"]) == 128
54+
assert len(rep.graph["all"]) == 129
5555

5656
# Quantities have short dimension names
5757
assert "demand:n-c-l-y-h" in rep
@@ -69,11 +69,11 @@ def test_reporter_from_scenario(message_test_mp):
6969
assert_qty_equal(obs, demand, check_attrs=False)
7070

7171
# ixmp.Reporter pre-populated with only model quantities and aggregates
72-
assert len(rep_ix.graph) == 5899
72+
assert len(rep_ix.graph) == 5915
7373

7474
# message_ix.Reporter pre-populated with additional, derived quantities
7575
# This is the same value as in test_tutorials.py
76-
assert len(rep.graph) == 13364
76+
assert len(rep.graph) == 13380
7777

7878
# Derived quantities have expected dimensions
7979
vom_key = rep.full_key("vom")

message_ix/tests/test_tutorials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
(("westeros", "westeros_addon_technologies"), [], {}),
5757
(("westeros", "westeros_historical_new_capacity"), [], {}),
5858
# NB this is the same value as in test_reporter()
59-
(("westeros", "westeros_report"), [("len-rep-graph", 13364)], {}),
59+
(("westeros", "westeros_report"), [("len-rep-graph", 13380)], {}),
6060
((AT, "austria"), [("solve-objective-value", 206321.90625)], {}),
6161
(
6262
(AT, "austria_single_policy"),

0 commit comments

Comments
 (0)