The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(tools/delegate): repoint batch-tag test to delegate_tool_progress where _BATCH_ORDINALS is bound
Teknium2d5e9a0ef176
diff --git a/tests/tools/test_delegate_batch_tag.py b/tests/tools/test_delegate_batch_tag.pyindex 168298840aa..05d1e435932 100644--- a/tests/tools/test_delegate_batch_tag.py+++ b/tests/tools/test_delegate_batch_tag.py@@ -10,12 +10,14 @@ import typesimport pytestimport tools.delegate_tool as dt+import tools.delegate_tool_progress as dt_progressfrom tools.delegate_tool import _batch_prefix, _build_child_progress_callback, format_batch_tag@pytest.fixture(autouse=True)def _fresh_ordinals(monkeypatch):- monkeypatch.setattr(dt, "_BATCH_ORDINALS", {})+ # The ordinal table is bound in delegate_tool_progress (format_batch_tag's home).+ monkeypatch.setattr(dt_progress, "_BATCH_ORDINALS", {})def test_format_batch_tag_assigns_stable_ordinals_per_batch():