MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / test_trace_exhausted

Method test_trace_exhausted

tests/tool_tests/test_tracing.py:260–265  ·  view source on GitHub ↗

Test that exhausted trace raises IndexError

(self)

Source from the content-addressed store, hash-verified

258 )
259
260 def test_trace_exhausted(self):
261 """Test that exhausted trace raises IndexError"""
262 replayer = TraceReplayer([])
263
264 with pytest.raises(IndexError, match="trace exhausted"):
265 replayer.next_llm_message(step_id="step1", iteration=0)
266
267
268class TestTraceWriter:

Callers

nothing calls this directly

Calls 2

next_llm_messageMethod · 0.95
TraceReplayerClass · 0.90

Tested by

no test coverage detected