Updated tests and additional tests for folder expansion during conversation tracking

This commit is contained in:
Fahad
2025-06-15 16:03:43 +04:00
parent d36a85a3f3
commit 07a078b4f2
12 changed files with 317 additions and 26 deletions

View File

@@ -75,7 +75,7 @@ class TestPromptRegression:
# Mock file reading through the centralized method
with patch.object(tool, "_prepare_file_content_for_prompt") as mock_prepare_files:
mock_prepare_files.return_value = "File content here"
mock_prepare_files.return_value = ("File content here", ["/path/to/file.py"])
result = await tool.execute({"prompt": "Analyze this code", "files": ["/path/to/file.py"]})