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

Method test_load_async_nonexistent

tests/config/test_config_models.py:232–235  ·  view source on GitHub ↗

Test load_async with nonexistent file returns defaults.

(self, tmp_path)

Source from the content-addressed store, hash-verified

230
231 @pytest.mark.asyncio
232 async def test_load_async_nonexistent(self, tmp_path):
233 """Test load_async with nonexistent file returns defaults."""
234 config = await MCPConfig.load_async(tmp_path / "nonexistent.json")
235 assert config.default_provider is not None
236
237 @pytest.mark.asyncio
238 async def test_load_async_valid_file(self, tmp_path):

Callers

nothing calls this directly

Calls 1

load_asyncMethod · 0.45

Tested by

no test coverage detected