File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed
Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,6 @@ async def _patch_ev_pool_status(
9696 ComponentPoolStatus (working = set (mocks .microgrid .evc_ids ), uncertain = set ())
9797 )
9898
99- async def _patch_data_pipeline (self , mocker : MockerFixture ) -> None :
100- mocker .patch (
101- "frequenz.sdk.microgrid._data_pipeline._DATA_PIPELINE._ev_power_wrapper"
102- "._pd_wait_for_data_sec" ,
103- 0.1 ,
104- )
105-
10699 async def _patch_power_distributing_actor (
107100 self ,
108101 mocker : MockerFixture ,
@@ -213,7 +206,6 @@ async def test_setting_power(
213206 )
214207
215208 await self ._init_ev_chargers (mocks )
216- await self ._patch_data_pipeline (mocker )
217209 ev_charger_pool = microgrid .ev_charger_pool (priority = 5 )
218210 await self ._patch_ev_pool_status (mocks , mocker )
219211 await self ._patch_power_distributing_actor (mocker )
Original file line number Diff line number Diff line change @@ -52,13 +52,6 @@ async def mocks(mocker: MockerFixture) -> typing.AsyncIterator[_Mocks]:
5252class TestPVPoolControl :
5353 """Test control methods for the PVPool."""
5454
55- async def _patch_data_pipeline (self , mocker : MockerFixture ) -> None :
56- mocker .patch (
57- "frequenz.sdk.microgrid._data_pipeline._DATA_PIPELINE._pv_power_wrapper"
58- "._pd_wait_for_data_sec" ,
59- 0.1 ,
60- )
61-
6255 async def _init_pv_inverters (self , mocks : _Mocks ) -> None :
6356 now = datetime .now (tz = timezone .utc )
6457 for idx , comp_id in enumerate (mocks .microgrid .pv_inverter_ids ):
@@ -138,7 +131,6 @@ async def test_setting_power( # pylint: disable=too-many-statements
138131 )
139132
140133 await self ._init_pv_inverters (mocks )
141- await self ._patch_data_pipeline (mocker )
142134 pv_pool = microgrid .pv_pool (priority = 5 )
143135 bounds_rx = pv_pool .power_status .new_receiver ()
144136 await self ._recv_reports_until (
You can’t perform that action at this time.
0 commit comments