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

Function assert_no_traces

tests/testing_processor.py:89–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88
89def assert_no_traces():
90 traces = fetch_traces()
91 if traces:
92 raise AssertionError(f"Expected 0 traces, got {len(traces)}")
93 assert_no_spans()
94
95
96def fetch_normalized_spans(

Calls 2

fetch_tracesFunction · 0.85
assert_no_spansFunction · 0.85

Tested by

no test coverage detected