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

Method test_default_values

tests/config/test_config_models.py:22–31  ·  view source on GitHub ↗

Test TimeoutConfig default values.

(self)

Source from the content-addressed store, hash-verified

20 """Test TimeoutConfig model."""
21
22 def test_default_values(self):
23 """Test TimeoutConfig default values."""
24 config = TimeoutConfig()
25 assert config.streaming_chunk > 0
26 assert config.streaming_global > 0
27 assert config.streaming_first_chunk > 0
28 assert config.tool_execution > 0
29 assert config.server_init > 0
30 assert config.http_request > 0
31 assert config.http_connect > 0
32
33 def test_custom_values(self):
34 """Test TimeoutConfig with custom values."""

Callers

nothing calls this directly

Calls 1

TimeoutConfigClass · 0.90

Tested by

no test coverage detected