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

Method test_immutable

tests/config/test_config_models.py:58–62  ·  view source on GitHub ↗

Test TimeoutConfig is immutable.

(self)

Source from the content-addressed store, hash-verified

56 assert result == 55.0
57
58 def test_immutable(self):
59 """Test TimeoutConfig is immutable."""
60 config = TimeoutConfig()
61 with pytest.raises(ValidationError):
62 config.streaming_chunk = 100.0
63
64 def test_validation_positive_values(self):
65 """Test validation requires positive values."""

Callers

nothing calls this directly

Calls 1

TimeoutConfigClass · 0.90

Tested by

no test coverage detected