idk why these weren't committed

This commit is contained in:
2026-03-06 12:48:02 -05:00
parent a982e701ed
commit 1fb6ebc4d0
35 changed files with 17 additions and 85 deletions

View File

@@ -2,12 +2,10 @@ import os
import sys
import unittest
from unittest.mock import patch, MagicMock
from pathlib import Path
# Ensure project root is in path
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
from src.project_manager import default_project
class TestArchBoundaryPhase2(unittest.TestCase):
def setUp(self) -> None:
@@ -15,7 +13,6 @@ class TestArchBoundaryPhase2(unittest.TestCase):
def test_toml_exposes_all_dispatch_tools(self) -> None:
"""manual_slop.toml [agent.tools] must list every tool in mcp_client.dispatch()."""
from src import mcp_client
from src import models
# We check the tool names in the source of mcp_client.dispatch
@@ -44,7 +41,6 @@ class TestArchBoundaryPhase2(unittest.TestCase):
def test_mutating_tool_triggers_callback(self) -> None:
"""All mutating tools must trigger the pre_tool_callback."""
from src import ai_client
from src.app_controller import AppController
# Use a real AppController to test its _confirm_and_run