More tests

This commit is contained in:
Fahad
2025-06-11 18:44:34 +04:00
parent ee3b9fdcd8
commit 898373bc22
10 changed files with 455 additions and 105 deletions

View File

@@ -53,7 +53,7 @@ DATABASE_CONFIG = {
validation_file = os.path.join(self.test_dir, "validation_config.py")
with open(validation_file, "w") as f:
f.write(validation_content)
# Ensure absolute path for MCP server compatibility
validation_file = os.path.abspath(validation_file)
@@ -113,11 +113,17 @@ DATABASE_CONFIG = {
tools_to_test = [
(
"chat",
{"prompt": "Please use low thinking mode. Analyze this config file", "files": [validation_file]}, # Using absolute path
{
"prompt": "Please use low thinking mode. Analyze this config file",
"files": [validation_file],
}, # Using absolute path
),
(
"codereview",
{"files": [validation_file], "context": "Please use low thinking mode. Review this configuration"}, # Using absolute path
{
"files": [validation_file],
"context": "Please use low thinking mode. Review this configuration",
}, # Using absolute path
),
("analyze", {"files": [validation_file], "analysis_type": "code_quality"}), # Using absolute path
]