WIP: PAIN

This commit is contained in:
2026-03-05 14:24:03 -05:00
parent e81843b11b
commit 0e3b479bd6
27 changed files with 684 additions and 772 deletions

View File

@@ -15,7 +15,6 @@ class TestArchBoundaryPhase1(unittest.TestCase):
def test_unfettered_modules_constant_removed(self) -> None:
"""TEST 1: Check 'UNFETTERED_MODULES' string is removed from project_manager.py"""
from src import project_manager
# We check the source directly to be sure it's not just hidden
with open("src/project_manager.py", "r", encoding="utf-8") as f:
content = f.read()
@@ -26,8 +25,9 @@ class TestArchBoundaryPhase1(unittest.TestCase):
from src import mcp_client
from pathlib import Path
# Configure with some directories
mcp_client.configure([Path("src")], [])
# Configure with some dummy file items (as dicts)
file_items = [{"path": "src/gui_2.py"}]
mcp_client.configure(file_items, [])
# Should allow src files
self.assertTrue(mcp_client._is_allowed(Path("src/gui_2.py")))