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

Function _make_runtime_config

tests/chat/test_streaming_handler.py:363–369  ·  view source on GitHub ↗

Build a mock RuntimeConfig.

()

Source from the content-addressed store, hash-verified

361
362
363def _make_runtime_config():
364 """Build a mock RuntimeConfig."""
365 rc = MagicMock()
366 rc.get_timeout = MagicMock(
367 side_effect=lambda t: 45.0 if "CHUNK" in t.value else 300.0
368 )
369 return rc
370
371
372class TestStreamingResponseHandler:

Calls

no outgoing calls

Tested by

no test coverage detected