Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
83
def
assert_no_spans():
84
spans = fetch_ordered_spans()
85
if
spans:
86
raise
AssertionError(f
"Expected 0 spans, got {len(spans)}"
)
87
88
89
def
assert_no_traces():
Callers
3
test_disable_tracing_does_not_create_span
Function · 0.85
test_stream_disabled_tracing_doesnt_create_span
Function · 0.85
assert_no_traces
Function · 0.85
Calls
1
fetch_ordered_spans
Function · 0.85
Tested by
no test coverage detected