From f9724aeaa86f8b28ef6dab4a85ef8ac99fd5b798 Mon Sep 17 00:00:00 2001 From: Jason Hoku Date: Wed, 4 Nov 2026 03:29:07 -0800 Subject: [PATCH] test(distribution): source guard accepts the plan-based populate call Co-Authored-By: Claude Fable 5.1 --- tests/test_distributed_upscales.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_distributed_upscales.py b/tests/test_distributed_upscales.py index 1be1d16..e79136f 100644 --- a/tests/test_distributed_upscales.py +++ b/tests/test_distributed_upscales.py @@ -176,7 +176,7 @@ def test_post_phase_source(): s = _src("_run_distributed_generation") assert '"meta": item_meta' not in s assert "_run_distributed_upscales(" in s and "_build_distributed_upscale_queue(" in s - assert s.index("_pre_run_ids =") < s.index("manager.populate_jobs(") + assert s.index("_pre_run_ids =") < min(i for i in (s.find("manager.populate_jobs("), s.find("_populate_distributed_manager(")) if i >= 0) assert "run_deferred_upscales(" not in s