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

Method setup_method

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

Source from the content-addressed store, hash-verified

302class TestRetryEngine:
303
304 def setup_method(self):
305 self.config = ControlLayerConfig(
306 max_attempts=3, base_delay_ms=50, max_delay_ms=2000, jitter_ms=0
307 )
308 self.engine = RetryEngine(self.config)
309
310 def test_should_retry_within_max(self):
311 assert self.engine.should_retry(FailureMode.SCHEMA_VIOLATION, 1) is True

Callers

nothing calls this directly

Calls 2

ControlLayerConfigClass · 0.90
RetryEngineClass · 0.90

Tested by

no test coverage detected