From 65af83b4413c0910d139ae04972b815fb007858d Mon Sep 17 00:00:00 2001 From: didericis Date: Tue, 14 Jul 2026 00:55:30 -0400 Subject: [PATCH] =?UTF-8?q?fix(tests):=20annotate=20on=5Fnetwork=20param?= =?UTF-8?q?=20=E2=80=94=20pyright=20strict=20(CI=20lint)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cut-over's edit to test_consolidated_launch left the new on_network kwarg untyped; pyright strict rejects it. No behavior change. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01WBMWTEtQdJ4W5UrWuLHCck --- tests/unit/test_consolidated_launch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_consolidated_launch.py b/tests/unit/test_consolidated_launch.py index a29a875..ecd8bbd 100644 --- a/tests/unit/test_consolidated_launch.py +++ b/tests/unit/test_consolidated_launch.py @@ -39,7 +39,10 @@ def _client(*, bottles: list[dict[str, object]] | None = None) -> Mock: class TestLaunchConsolidated(unittest.TestCase): - def _run(self, client: Mock, provision: Mock | None = None, *, on_network=("172.18.0.2",)): + def _run( + self, client: Mock, provision: Mock | None = None, + *, on_network: tuple[str, ...] = ("172.18.0.2",), + ): service = MagicMock() service.ensure_running.return_value = "http://orch:8080" with patch(f"{_MOD}._network_cidr", return_value="172.18.0.0/16"), \