Skip to content

Commit f41b75e

Browse files
committed
Fix comments in tests
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 9c7d23c commit f41b75e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/actor/power_distributing/test_power_distributing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async def init_component_data(self, mockgrid: MockMicrogrid) -> None:
100100
)
101101

102102
async def test_power_distributor_one_user(self, mocker: MockerFixture) -> None:
103-
"""Test if power distribution works with single user works."""
103+
"""Test if power distribution works with a single user."""
104104
mockgrid = MockMicrogrid(grid_meter=False)
105105
mockgrid.add_batteries(3)
106106
await mockgrid.start(mocker)
@@ -374,7 +374,7 @@ async def test_battery_power_bounds_nan(self, mocker: MockerFixture) -> None:
374374
)
375375
)
376376

377-
# Battery 106 should not work because both battery and inverter sends NaN
377+
# Battery 9 should not work because both battery and inverter sends NaN
378378
await mockgrid.mock_client.send(
379379
inverter_msg(
380380
8,

0 commit comments

Comments
 (0)