@@ -879,9 +879,7 @@ async def farmer_one_harvester_simulator_wallet(
879
879
880
880
@pytest .fixture (scope = "function" )
881
881
async def farmer_one_harvester (tmp_path : Path , get_b_tools : BlockTools ) -> AsyncIterator [FarmerOneHarvester ]:
882
- async with setup_farmer_multi_harvester (
883
- get_b_tools , 1 , tmp_path , get_b_tools .constants , start_services = True
884
- ) as _ :
882
+ async with setup_farmer_multi_harvester (get_b_tools , 1 , tmp_path , get_b_tools .constants , start_services = True ) as _ :
885
883
yield _
886
884
887
885
@@ -904,29 +902,23 @@ async def farmer_one_harvester_solver(
904
902
async def farmer_one_harvester_not_started (
905
903
tmp_path : Path , get_b_tools : BlockTools
906
904
) -> AsyncIterator [tuple [list [HarvesterService ], FarmerService , BlockTools ]]:
907
- async with setup_farmer_multi_harvester (
908
- get_b_tools , 1 , tmp_path , get_b_tools .constants , start_services = False
909
- ) as _ :
905
+ async with setup_farmer_multi_harvester (get_b_tools , 1 , tmp_path , get_b_tools .constants , start_services = False ) as _ :
910
906
yield _
911
907
912
908
913
909
@pytest .fixture (scope = "function" )
914
910
async def farmer_two_harvester_not_started (
915
911
tmp_path : Path , get_b_tools : BlockTools
916
912
) -> AsyncIterator [tuple [list [HarvesterService ], FarmerService , BlockTools ]]:
917
- async with setup_farmer_multi_harvester (
918
- get_b_tools , 2 , tmp_path , get_b_tools .constants , start_services = False
919
- ) as _ :
913
+ async with setup_farmer_multi_harvester (get_b_tools , 2 , tmp_path , get_b_tools .constants , start_services = False ) as _ :
920
914
yield _
921
915
922
916
923
917
@pytest .fixture (scope = "function" )
924
918
async def farmer_three_harvester_not_started (
925
919
tmp_path : Path , get_b_tools : BlockTools
926
920
) -> AsyncIterator [tuple [list [HarvesterService ], FarmerService , BlockTools ]]:
927
- async with setup_farmer_multi_harvester (
928
- get_b_tools , 3 , tmp_path , get_b_tools .constants , start_services = False
929
- ) as _ :
921
+ async with setup_farmer_multi_harvester (get_b_tools , 3 , tmp_path , get_b_tools .constants , start_services = False ) as _ :
930
922
yield _
931
923
932
924
0 commit comments