diff --git a/tests/test_config.py b/tests/test_config.py index 8837d56..01406e1 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -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: