MCPcopy Index your code
hub / github.com/openai/openai-agents-python / assert_no_spans

Function assert_no_spans

tests/testing_processor.py:83–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82
83def assert_no_spans():
84 spans = fetch_ordered_spans()
85 if spans:
86 raise AssertionError(f"Expected 0 spans, got {len(spans)}")
87
88
89def assert_no_traces():

Calls 1

fetch_ordered_spansFunction · 0.85

Tested by

no test coverage detected