From b93a258efc76ef0539fe9189110571845067c704 Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Tue, 20 Oct 2026 22:38:11 +0200 Subject: [PATCH] style: ruff format test_deploy_broker.py --- tests/test_deploy_broker.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_deploy_broker.py b/tests/test_deploy_broker.py index 960d305..a38891c 100644 --- a/tests/test_deploy_broker.py +++ b/tests/test_deploy_broker.py @@ -29,11 +29,15 @@ exit 0 """ -def _deploy(tmp_path: Path, broker_exit: int = 0) -> tuple[subprocess.CompletedProcess[str], list[str]]: +def _deploy( + tmp_path: Path, broker_exit: int = 0 +) -> tuple[subprocess.CompletedProcess[str], list[str]]: bin_dir = tmp_path / "bin" bin_dir.mkdir() fake = bin_dir / "ssh" - fake.write_text(_FAKE_SSH.replace("{state}", str(tmp_path)).replace("{broker_exit}", str(broker_exit))) + fake.write_text( + _FAKE_SSH.replace("{state}", str(tmp_path)).replace("{broker_exit}", str(broker_exit)) + ) fake.chmod(0o755) result = subprocess.run( ["bash", str(DEPLOY), "testhost"],