Skip to content

Commit

Permalink
Make test_macro more specific to avoid error (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 authored Dec 19, 2023
1 parent 6b4f630 commit d671101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message_ix/tests/test_macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_config(westeros_solved, w_data_path):

# Missing columns in config raises an exception
data = c.get("data")
data["config"] = data["config"][["node", "sector"]]
data["config"] = data["config"][["node", "sector", "commodity", "year"]]
c = macro.prepare_computer(westeros_solved, data=data)
with pytest.raises(Exception, match="level"):
c.get("check all")
Expand Down

0 comments on commit d671101

Please sign in to comment.