idk why these weren't committed
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from unittest.mock import MagicMock, patch
|
||||
from src.shell_runner import run_powershell
|
||||
from src import ai_client
|
||||
from typing import Any, Optional, Callable
|
||||
|
||||
def test_run_powershell_qa_callback_on_failure(vlogger) -> None:
|
||||
"""Test that qa_callback is called when a powershell command fails (non-zero exit code)."""
|
||||
@@ -75,7 +74,6 @@ def test_end_to_end_tier4_integration(vlogger) -> None:
|
||||
|
||||
def test_ai_client_passes_qa_callback() -> None:
|
||||
"""Verifies that ai_client.send passes the qa_callback down to the provider function."""
|
||||
from src import ai_client
|
||||
qa_callback = lambda x: "analysis"
|
||||
|
||||
with patch("src.ai_client._send_gemini") as mock_send:
|
||||
@@ -89,7 +87,6 @@ def test_ai_client_passes_qa_callback() -> None:
|
||||
|
||||
def test_gemini_provider_passes_qa_callback_to_run_script() -> None:
|
||||
"""Verifies that _send_gemini passes the qa_callback to _run_script."""
|
||||
from src import ai_client
|
||||
qa_callback = MagicMock()
|
||||
|
||||
# Mock the tool loop behavior
|
||||
|
||||
Reference in New Issue
Block a user