Skip to content

Commit ff28400

Browse files
committed
Fix config test case from file
Signed-off-by: cwasicki <[email protected]>
1 parent b76e0c2 commit ff28400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ def test_microgrid_config_formula(valid_microgrid_config: MicrogridConfig) -> No
112112
def test_load_configs(mocker: MockerFixture) -> None:
113113
"""Test loading configurations for multiple microgrids from mock TOML files."""
114114
toml_data = """
115+
1.meta.microgrid_id = 1
115116
1.meta.name = "Test Grid"
116117
1.meta.gid = 1
117118
1.ctype.pv.meter = [101, 102]
118-
1.ctype.pv.formula = "AC_ACTIVE_POWER"
119119
1.ctype.battery.inverter = [201, 202, 203]
120120
1.ctype.battery.component = [301, 302, 303, 304, 305, 306]
121121
1.pv.PV1.peak_power = 5000

0 commit comments

Comments
 (0)