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

Method test_get_async

tests/config/test_config_models.py:52–56  ·  view source on GitHub ↗

Test async getter.

(self)

Source from the content-addressed store, hash-verified

50
51 @pytest.mark.asyncio
52 async def test_get_async(self):
53 """Test async getter."""
54 config = TimeoutConfig(streaming_chunk=55.0)
55 result = await config.get_async(TimeoutType.STREAMING_CHUNK)
56 assert result == 55.0
57
58 def test_immutable(self):
59 """Test TimeoutConfig is immutable."""

Callers

nothing calls this directly

Calls 2

get_asyncMethod · 0.95
TimeoutConfigClass · 0.90

Tested by

no test coverage detected