MCPcopy Create free account
hub / github.com/Emmimal/control-layer / test_defaults_valid

Method test_defaults_valid

tests/test_control_layer.py:588–591  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

586class TestPydanticConfig:
587
588 def test_defaults_valid(self):
589 config = ControlLayerConfig()
590 assert config.total_tokens == 800
591 assert config.max_attempts == 3
592
593 def test_custom_values_accepted(self):
594 config = ControlLayerConfig(total_tokens=4096, max_attempts=5, timeout_seconds=60.0)

Callers

nothing calls this directly

Calls 1

ControlLayerConfigClass · 0.90

Tested by

no test coverage detected