Skip to content

Commit 09588f0

Browse files
committed
.
1 parent ef2b17f commit 09588f0

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎tests/integrations/celery/test_update_celery_task_headers.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def test_monitor_beat_tasks_with_headers(monitor_beat_tasks):
6969
assert "sentry-monitor-start-timestamp-s" not in outgoing_headers["headers"]
7070

7171

72-
def test_span_with_transaction(sentry_init):
73-
sentry_init(traces_sample_rate=1.0)
72+
def test_span_with_segment(sentry_init):
73+
sentry_init(traces_sample_rate=1.0, data_collection={})
7474
headers = {}
7575
monitor_beat_tasks = False
7676

@@ -89,8 +89,8 @@ def test_span_with_transaction(sentry_init):
8989
)
9090

9191

92-
def test_span_with_transaction_custom_headers(sentry_init):
93-
sentry_init(traces_sample_rate=1.0)
92+
def test_span_with_segment_custom_headers(sentry_init):
93+
sentry_init(traces_sample_rate=1.0, data_collection={})
9494
headers = {
9595
"baggage": BAGGAGE_VALUE,
9696
"sentry-trace": SENTRY_TRACE_VALUE,
@@ -133,7 +133,7 @@ def test_celery_trace_propagation_default(sentry_init, monitor_beat_tasks):
133133
The Celery integration has its own mechanism to propagate traces:
134134
https://docs.sentry.io/platforms/python/integrations/celery/#distributed-traces
135135
"""
136-
sentry_init()
136+
sentry_init(data_collection={})
137137

138138
headers = {}
139139
span = None
@@ -169,7 +169,7 @@ def test_celery_trace_propagation_traces_sample_rate(
169169
The Celery integration has its own mechanism to propagate traces:
170170
https://docs.sentry.io/platforms/python/integrations/celery/#distributed-traces
171171
"""
172-
sentry_init(traces_sample_rate=traces_sample_rate)
172+
sentry_init(traces_sample_rate=traces_sample_rate, data_collection={})
173173

174174
headers = {}
175175
span = None

0 commit comments

Comments
 (0)