@@ -386,7 +386,6 @@ async def test_power_distributor_invalid_battery_id(self) -> None:
386386 with mock .patch ("asyncio.sleep" , new_callable = AsyncMock ) and mock .patch (
387387 "frequenz.sdk.microgrid.get" , return_value = mock_microgrid
388388 ):
389-
390389 distributor = PowerDistributingActor (service_channels )
391390
392391 # Mock that all requested batteries are working.
@@ -446,7 +445,6 @@ async def test_power_distributor_overlapping_batteries(self) -> None:
446445 with mock .patch ("asyncio.sleep" , new_callable = AsyncMock ) and mock .patch (
447446 "frequenz.sdk.microgrid.get" , return_value = mock_microgrid
448447 ):
449-
450448 distributor = PowerDistributingActor (service_channels )
451449
452450 # Mock that all requested batteries are working.
@@ -545,7 +543,6 @@ async def test_power_distributor_one_user_adjust_power_consume(
545543 with mock .patch ("asyncio.sleep" , new_callable = AsyncMock ) and mock .patch (
546544 "frequenz.sdk.microgrid.get" , return_value = mock_microgrid
547545 ):
548-
549546 distributor = PowerDistributingActor (service_channels )
550547
551548 # Mock that all requested batteries are working.
@@ -612,7 +609,6 @@ async def test_power_distributor_one_user_adjust_power_supply(
612609 with mock .patch ("asyncio.sleep" , new_callable = AsyncMock ) and mock .patch (
613610 "frequenz.sdk.microgrid.get" , return_value = mock_microgrid
614611 ):
615-
616612 distributor = PowerDistributingActor (service_channels )
617613
618614 # Mock that all requested batteries are working.
@@ -679,7 +675,6 @@ async def test_power_distributor_one_user_adjust_power_success(
679675 with mock .patch ("asyncio.sleep" , new_callable = AsyncMock ) and mock .patch (
680676 "frequenz.sdk.microgrid.get" , return_value = mock_microgrid
681677 ):
682-
683678 distributor = PowerDistributingActor (service_channels )
684679
685680 # Mock that all requested batteries are working.
@@ -739,7 +734,6 @@ async def test_not_all_batteries_are_working(
739734 with mock .patch ("asyncio.sleep" , new_callable = AsyncMock ) and mock .patch (
740735 "frequenz.sdk.microgrid.get" , return_value = mock_microgrid
741736 ):
742-
743737 distributor = PowerDistributingActor ({"user1" : channel .service_handle })
744738
745739 # Mock that all requested batteries are working.
0 commit comments