MCPcopy
hub / github.com/IBM/AssetOpsBench / test_run_ids_absent_by_default

Function test_run_ids_absent_by_default

src/observability/tests/test_tracing.py:117–123  ·  view source on GitHub ↗
(memory_exporter)

Source from the content-addressed store, hash-verified

115
116
117def test_run_ids_absent_by_default(memory_exporter):
118 with agent_run_span("openai-agent", model="openai/gpt-5", question="q"):
119 pass
120
121 s = memory_exporter.get_finished_spans()[0]
122 assert "agent.run_id" not in s.attributes
123 assert "agent.scenario_id" not in s.attributes
124
125
126@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

agent_run_spanFunction · 0.90

Tested by

no test coverage detected