We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3737b3c commit 0d70d04Copy full SHA for 0d70d04
1 file changed
tests/tracing/test_span_streaming.py
@@ -45,7 +45,9 @@ def test_start_span(sentry_init, capture_envelopes):
45
events = capture_envelopes()
46
47
with sentry_sdk.traces.start_span(name="segment") as segment:
48
+ assert segment.is_segment() is True
49
with sentry_sdk.traces.start_span(name="child") as child:
50
+ assert child.is_segment() is False
51
assert child.segment == segment
52
53
sentry_sdk.get_client().flush()
0 commit comments