Skip to content

Commit

Permalink
Update graph lengths in reporting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
behnam-zakeri committed Dec 1, 2022
1 parent 7792309 commit 0435076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion message_ix/tests/test_reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_reporter_from_scenario(message_test_mp):
rep = Reporter.from_scenario(scen)

# Number of quantities available in a rudimentary MESSAGEix Scenario
assert len(rep.graph["all"]) == 125
assert len(rep.graph["all"]) == 128

# Quantities have short dimension names
assert "demand:n-c-l-y-h" in rep
Expand Down
2 changes: 1 addition & 1 deletion message_ix/tests/test_tutorials.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
(("westeros", "westeros_addon_technologies"), [], {}),
(("westeros", "westeros_historical_new_capacity"), [], {}),
# NB this is the same value as in test_reporter()
(("westeros", "westeros_report"), [("len-rep-graph", 13074)], {}),
(("westeros", "westeros_report"), [("len-rep-graph", 13364)], {}),
((AT, "austria"), [("solve-objective-value", 206321.90625)], {}),
(
(AT, "austria_single_policy"),
Expand Down

0 comments on commit 0435076

Please sign in to comment.