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

Method test_custom_values

tests/config/test_config_models.py:33–42  ·  view source on GitHub ↗

Test TimeoutConfig with custom values.

(self)

Source from the content-addressed store, hash-verified

31 assert config.http_connect > 0
32
33 def test_custom_values(self):
34 """Test TimeoutConfig with custom values."""
35 config = TimeoutConfig(
36 streaming_chunk=60.0,
37 streaming_global=600.0,
38 tool_execution=120.0,
39 )
40 assert config.streaming_chunk == 60.0
41 assert config.streaming_global == 600.0
42 assert config.tool_execution == 120.0
43
44 def test_get_timeout_by_enum(self):
45 """Test getting timeout by TimeoutType enum."""

Callers

nothing calls this directly

Calls 1

TimeoutConfigClass · 0.90

Tested by

no test coverage detected