refactor(sdm): Global pass with refined 'External Only' SDM tags. Pruned redundant internal references and fixed indentation logic in injector. Verified full project compilation.
This commit is contained in:
@@ -24,7 +24,8 @@ def mock_project():
|
||||
|
||||
def test_rag_integration(mock_project):
|
||||
"""
|
||||
Integration test verifying the flow from AppController through RAGEngine to ai_client.
|
||||
|
||||
Integration test verifying the flow from AppController through RAGEngine to ai_client.
|
||||
"""
|
||||
# 1. Initializes a mock project and AppController.
|
||||
# We patch several components to avoid side effects during initialization.
|
||||
@@ -108,4 +109,4 @@ def test_rag_integration(mock_project):
|
||||
assert "Source: test_file.py" in sent_user_message
|
||||
|
||||
# Verify that rag_engine.search was called with the original prompt
|
||||
mock_rag_engine.search.assert_called_once_with("Tell me about the code.")
|
||||
mock_rag_engine.search.assert_called_once_with("Tell me about the code.")
|
||||
Reference in New Issue
Block a user