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

Method test_default_values

tests/config/test_config_models.py:178–188  ·  view source on GitHub ↗

Test MCPConfig default values.

(self)

Source from the content-addressed store, hash-verified

176 """Test MCPConfig model."""
177
178 def test_default_values(self):
179 """Test MCPConfig default values."""
180 config = MCPConfig()
181 assert config.default_provider is not None
182 assert config.default_model is not None
183 assert config.theme is not None
184 assert config.verbose is not None
185 assert isinstance(config.timeouts, TimeoutConfig)
186 assert isinstance(config.tools, ToolConfig)
187 assert isinstance(config.token_storage, TokenStorageConfig)
188 assert config.servers == {}
189
190 def test_custom_values(self):
191 """Test MCPConfig with custom values."""

Callers

nothing calls this directly

Calls 1

MCPConfigClass · 0.90

Tested by

no test coverage detected