Skip to content

Commit 3ae3005

Browse files
committed
lint
1 parent 9dc5a53 commit 3ae3005

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

chia/_tests/conftest.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -879,9 +879,7 @@ async def farmer_one_harvester_simulator_wallet(
879879

880880
@pytest.fixture(scope="function")
881881
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 _:
885883
yield _
886884

887885

@@ -904,29 +902,23 @@ async def farmer_one_harvester_solver(
904902
async def farmer_one_harvester_not_started(
905903
tmp_path: Path, get_b_tools: BlockTools
906904
) -> 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 _:
910906
yield _
911907

912908

913909
@pytest.fixture(scope="function")
914910
async def farmer_two_harvester_not_started(
915911
tmp_path: Path, get_b_tools: BlockTools
916912
) -> 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 _:
920914
yield _
921915

922916

923917
@pytest.fixture(scope="function")
924918
async def farmer_three_harvester_not_started(
925919
tmp_path: Path, get_b_tools: BlockTools
926920
) -> 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 _:
930922
yield _
931923

932924

0 commit comments

Comments
 (0)