auto-sync: 2026-06-02 07:48:43

This commit is contained in:
cfdaily
2026-06-02 07:48:43 +08:00
parent 838928f505
commit 2884f6afc7
+8 -2
View File
@@ -509,7 +509,10 @@ class TestU10ReviewPrompt:
description="这是目标描述")
parent_task = bb.get_task("parent")
ticker = Ticker(registry=MagicMock())
mock_spawner = MagicMock()
mock_spawner.api_host = "127.0.0.1"
mock_spawner.api_port = 8083
ticker = Ticker(registry=MagicMock(), spawner=mock_spawner)
summary = {"done": 2, "failed": 1, "cancelled": 0, "total": 3}
prompt = ticker._build_review_prompt(
@@ -527,7 +530,10 @@ class TestU10ReviewPrompt:
description="目标")
parent_task = bb.get_task("parent")
ticker = Ticker(registry=MagicMock())
mock_spawner = MagicMock()
mock_spawner.api_host = "127.0.0.1"
mock_spawner.api_port = 8083
ticker = Ticker(registry=MagicMock(), spawner=mock_spawner)
summary = {"done": 1, "failed": 2, "cancelled": 0, "total": 3}
prompt = ticker._build_review_prompt(