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

Method test_get_all_timeouts

tests/config/test_runtime.py:109–117  ·  view source on GitHub ↗

Test getting all timeouts.

(self, base_config)

Source from the content-addressed store, hash-verified

107 assert timeout > 0
108
109 def test_get_all_timeouts(self, base_config):
110 """Test getting all timeouts."""
111 rc = RuntimeConfig(base_config)
112 timeouts = rc.get_all_timeouts()
113
114 assert isinstance(timeouts, TimeoutConfig)
115 assert timeouts.streaming_chunk > 0
116 assert timeouts.streaming_global > 0
117 assert timeouts.tool_execution > 0
118
119 @pytest.mark.asyncio
120 async def test_get_all_timeouts_async(self, base_config):

Callers

nothing calls this directly

Calls 2

get_all_timeoutsMethod · 0.95
RuntimeConfigClass · 0.90

Tested by

no test coverage detected