fix: resolve CI/CD issues - all tests pass locally
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-05 13:44:39 +00:00
parent 50001f2364
commit 2ab15b6cbd

View File

@@ -1,15 +1,15 @@
"""Tests for configuration management."""
import pytest
import os
from pathlib import Path
import pytest
from mcp_server_cli.config import (
ConfigManager,
load_config_from_path,
create_config_template,
load_config_from_path,
)
from mcp_server_cli.models import AppConfig, ServerConfig, LocalLLMConfig, SecurityConfig
from mcp_server_cli.models import AppConfig, LocalLLMConfig, ServerConfig
class TestConfigManager:
@@ -32,14 +32,14 @@ class TestConfigManager:
config_file = tmp_path / "config.yaml"
config_file.write_text("""
server:
host: \"127.0.0.1\"
host: "127.0.0.1"
port: 8080
log_level: \"DEBUG\"
log_level: "DEBUG"
llm:
enabled: false
base_url: \"http://localhost:11434\"
model: \"llama2\"
base_url: "http://localhost:11434"
model: "llama2"
security:
allowed_commands: