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

Method test_load_sync_nonexistent

tests/config/test_config_models.py:203–206  ·  view source on GitHub ↗

Test load_sync with nonexistent file returns defaults.

(self, tmp_path)

Source from the content-addressed store, hash-verified

201 assert config.verbose is False
202
203 def test_load_sync_nonexistent(self, tmp_path):
204 """Test load_sync with nonexistent file returns defaults."""
205 config = MCPConfig.load_sync(tmp_path / "nonexistent.json")
206 assert config.default_provider is not None
207
208 def test_load_sync_valid_file(self, tmp_path):
209 """Test load_sync with valid file."""

Callers

nothing calls this directly

Calls 1

load_syncMethod · 0.80

Tested by

no test coverage detected