idk why these weren't committed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user