ok
This commit is contained in:
@@ -108,7 +108,7 @@ async def test_headless_verification_error_and_qa_interceptor(vlogger) -> None:
|
||||
mock_chat.send_message_stream.side_effect = [make_stream_mock(mock_resp1), make_stream_mock(mock_resp2)]
|
||||
# Mock run_powershell behavior: it should call the qa_callback on error
|
||||
|
||||
def run_side_effect(script: Any, base_dir: Any, qa_callback: Any) -> Any:
|
||||
def run_side_effect(script: Any, base_dir: Any, qa_callback: Any, patch_callback: Any = None) -> Any:
|
||||
if qa_callback:
|
||||
analysis = qa_callback("Error: file not found")
|
||||
return f"STDERR: Error: file not found\n\nQA ANALYSIS:\n{analysis}"
|
||||
@@ -119,7 +119,7 @@ async def test_headless_verification_error_and_qa_interceptor(vlogger) -> None:
|
||||
|
||||
# Patch engine used in test
|
||||
with patch("src.multi_agent_conductor.run_worker_lifecycle", wraps=multi_agent_conductor.run_worker_lifecycle):
|
||||
engine.run()
|
||||
engine.run(max_ticks=1)
|
||||
|
||||
vlogger.log_state("T1 Final Status", "todo", t1.status)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user