MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_default_values

Method test_default_values

tests/config/test_config_models.py:76–83  ·  view source on GitHub ↗

Test ToolConfig default values.

(self)

Source from the content-addressed store, hash-verified

74 """Test ToolConfig model."""
75
76 def test_default_values(self):
77 """Test ToolConfig default values."""
78 config = ToolConfig()
79 assert config.include_tools is None
80 assert config.exclude_tools is None
81 assert config.dynamic_tools_enabled is not None # Has default
82 assert config.confirm_tools is not None # Has default
83 assert config.max_concurrency > 0
84
85 def test_custom_values(self):
86 """Test ToolConfig with custom values."""

Callers

nothing calls this directly

Calls 1

ToolConfigClass · 0.90

Tested by

no test coverage detected