Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
89
def
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
96
def
fetch_normalized_spans(
Callers
6
test_disabled_tracing
Function · 0.85
test_noop_span_doesnt_record
Function · 0.85
test_parent_disabled_trace_disabled_agent_trace
Function · 0.85
test_manual_disabling_works
Function · 0.85
test_parent_disabled_trace_disables_streaming_agent_trace
Function · 0.85
test_manual_streaming_disabling_works
Function · 0.85
Calls
2
fetch_traces
Function · 0.85
assert_no_spans
Function · 0.85
Tested by
no test coverage detected