From 2030b9f04c2b1f4ef3fd9929271aa4745a797c69 Mon Sep 17 00:00:00 2001 From: Hendrik Huyskens Date: Fri, 17 Nov 2023 11:05:59 +0100 Subject: [PATCH] Minor change --- .../test_mimo_converter/test_mimo_converter.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_scripts/test_solph/test_mimo_converter/test_mimo_converter.py b/tests/test_scripts/test_solph/test_mimo_converter/test_mimo_converter.py index ba7864b27..3d2a91439 100644 --- a/tests/test_scripts/test_solph/test_mimo_converter/test_mimo_converter.py +++ b/tests/test_scripts/test_solph/test_mimo_converter/test_mimo_converter.py @@ -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()}}, @@ -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()}}, @@ -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()}},