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

Method test_get_timeout_async

tests/config/test_runtime.py:103–107  ·  view source on GitHub ↗

Test async timeout getter.

(self, base_config)

Source from the content-addressed store, hash-verified

101
102 @pytest.mark.asyncio
103 async def test_get_timeout_async(self, base_config):
104 """Test async timeout getter."""
105 rc = RuntimeConfig(base_config)
106 timeout = await rc.get_timeout_async(TimeoutType.STREAMING_CHUNK)
107 assert timeout > 0
108
109 def test_get_all_timeouts(self, base_config):
110 """Test getting all timeouts."""

Callers

nothing calls this directly

Calls 2

get_timeout_asyncMethod · 0.95
RuntimeConfigClass · 0.90

Tested by

no test coverage detected