Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Nov 17, 2023
1 parent 7b7ad77 commit 2030b9f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def test_invalid_flow_shares():
ValueError, match="Invalid flow share types found: {'maxx'}"
):
b_gas = Bus(label="gas")
b_hydro = Bus(label="gas")
b_electricity = Bus(label="gas")
b_hydro = Bus(label="hydro")
b_electricity = Bus(label="electricity")
MultiInputMultiOutputConverter(
label="mimo",
inputs={"in": {b_gas: Flow(), b_hydro: Flow()}},
Expand All @@ -36,8 +36,8 @@ def test_invalid_flow_shares():
match="Cannot combine 'fix' and 'min' flow share for same node.",
):
b_gas = Bus(label="gas")
b_hydro = Bus(label="gas")
b_electricity = Bus(label="gas")
b_hydro = Bus(label="hydro")
b_electricity = Bus(label="electricity")
MultiInputMultiOutputConverter(
label="mimo",
inputs={"in": {b_gas: Flow(), b_hydro: Flow()}},
Expand All @@ -50,8 +50,8 @@ def test_invalid_flow_shares():
match="Cannot combine 'fix' and 'max' flow share for same node.",
):
b_gas = Bus(label="gas")
b_hydro = Bus(label="gas")
b_electricity = Bus(label="gas")
b_hydro = Bus(label="hydro")
b_electricity = Bus(label="electricity")
MultiInputMultiOutputConverter(
label="mimo",
inputs={"in": {b_gas: Flow(), b_hydro: Flow()}},
Expand Down

0 comments on commit 2030b9f

Please sign in to comment.