diff --git a/tests/integrations/arq/test_arq.py b/tests/integrations/arq/test_arq.py index 8f15e48d0f..1cbf5c1a4d 100644 --- a/tests/integrations/arq/test_arq.py +++ b/tests/integrations/arq/test_arq.py @@ -63,7 +63,6 @@ def inner( sentry_init_kwargs = { "integrations": [ArqIntegration()], "traces_sample_rate": 1.0, - "data_collection": {}, } sentry_init_kwargs.update(init_kwargs or {}) sentry_init(**sentry_init_kwargs) @@ -111,7 +110,6 @@ def inner( sentry_init_kwargs = { "integrations": [ArqIntegration()], "traces_sample_rate": 1.0, - "data_collection": {}, } sentry_init_kwargs.update(init_kwargs or {}) sentry_init(**sentry_init_kwargs) @@ -162,7 +160,6 @@ def inner( sentry_init_kwargs = { "integrations": [ArqIntegration()], "traces_sample_rate": 1.0, - "data_collection": {}, } sentry_init_kwargs.update(init_kwargs or {}) sentry_init(**sentry_init_kwargs) diff --git a/tests/integrations/celery/test_update_celery_task_headers.py b/tests/integrations/celery/test_update_celery_task_headers.py index 97d3f6def5..39268b45d0 100644 --- a/tests/integrations/celery/test_update_celery_task_headers.py +++ b/tests/integrations/celery/test_update_celery_task_headers.py @@ -70,7 +70,7 @@ def test_monitor_beat_tasks_with_headers(monitor_beat_tasks): def test_span_with_segment(sentry_init): - sentry_init(traces_sample_rate=1.0, data_collection={}) + sentry_init(traces_sample_rate=1.0) headers = {} monitor_beat_tasks = False @@ -90,7 +90,7 @@ def test_span_with_segment(sentry_init): def test_span_with_segment_custom_headers(sentry_init): - sentry_init(traces_sample_rate=1.0, data_collection={}) + sentry_init(traces_sample_rate=1.0) headers = { "baggage": BAGGAGE_VALUE, "sentry-trace": SENTRY_TRACE_VALUE, @@ -133,7 +133,7 @@ def test_celery_trace_propagation_default(sentry_init, monitor_beat_tasks): The Celery integration has its own mechanism to propagate traces: https://docs.sentry.io/platforms/python/integrations/celery/#distributed-traces """ - sentry_init(data_collection={}) + sentry_init() headers = {} span = None @@ -169,7 +169,7 @@ def test_celery_trace_propagation_traces_sample_rate( The Celery integration has its own mechanism to propagate traces: https://docs.sentry.io/platforms/python/integrations/celery/#distributed-traces """ - sentry_init(traces_sample_rate=traces_sample_rate, data_collection={}) + sentry_init(traces_sample_rate=traces_sample_rate) headers = {} span = None diff --git a/tests/integrations/gcp/test_gcp.py b/tests/integrations/gcp/test_gcp.py index 6910254895..2593a17e2a 100644 --- a/tests/integrations/gcp/test_gcp.py +++ b/tests/integrations/gcp/test_gcp.py @@ -613,7 +613,7 @@ def cloud_function(functionhandler, event): + FUNCTIONS_PRELUDE + dedent( """ - init_sdk(traces_sample_rate=1.0, data_collection={}) + init_sdk(traces_sample_rate=1.0) gcp_functions.worker_v1.FunctionHandler.invoke_user_function(functionhandler, event) """ ) diff --git a/tests/integrations/sanic/test_sanic.py b/tests/integrations/sanic/test_sanic.py index b54c9faefc..6866c3f70d 100644 --- a/tests/integrations/sanic/test_sanic.py +++ b/tests/integrations/sanic/test_sanic.py @@ -104,7 +104,7 @@ def reusable_client(app): def test_request_data(sentry_init, app, capture_events): - sentry_init(integrations=[SanicIntegration()], data_collection={}) + sentry_init(integrations=[SanicIntegration()]) events = capture_events() c = get_client(app) diff --git a/tests/test_client.py b/tests/test_client.py index a6505b4f9b..df56714fa8 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -953,7 +953,7 @@ def test_dict_changed_during_iteration(sentry_init, capture_events): See https://github.com/getsentry/sentry-python/pull/298 for discussion """ - sentry_init(data_collection={}) + sentry_init() events = capture_events() class TooSmartClass: