@@ -65,7 +65,7 @@ def inner():
6565def test_view_exceptions (
6666 get_client , route , sentry_init , capture_events , capture_exceptions
6767):
68- sentry_init (integrations = [PyramidIntegration ()], data_collection = {} )
68+ sentry_init (integrations = [PyramidIntegration ()])
6969 events = capture_events ()
7070 exceptions = capture_exceptions ()
7171
@@ -93,7 +93,7 @@ def errors(request):
9393
9494
9595def test_has_context (route , get_client , sentry_init , capture_events ):
96- sentry_init (integrations = [PyramidIntegration ()], data_collection = {} )
96+ sentry_init (integrations = [PyramidIntegration ()])
9797 events = capture_events ()
9898
9999 @route ("/context_message/{msg}" )
@@ -211,7 +211,7 @@ def index(request):
211211
212212@pytest .mark .parametrize ("data" , [{}, []], ids = ["empty-dict" , "empty-list" ])
213213def test_flask_empty_json_request (sentry_init , capture_events , route , get_client , data ):
214- sentry_init (integrations = [PyramidIntegration ()], data_collection = {} )
214+ sentry_init (integrations = [PyramidIntegration ()])
215215
216216 @route ("/" )
217217 def index (request ):
@@ -305,7 +305,7 @@ def test_bad_request_not_captured(
305305):
306306 import pyramid .httpexceptions as exc
307307
308- sentry_init (integrations = [PyramidIntegration ()], data_collection = {} )
308+ sentry_init (integrations = [PyramidIntegration ()])
309309 events = capture_events ()
310310
311311 @route ("/" )
@@ -326,7 +326,7 @@ def errorhandler(exc, request):
326326def test_errorhandler_ok (
327327 sentry_init , pyramid_config , capture_exceptions , route , get_client
328328):
329- sentry_init (integrations = [PyramidIntegration ()], data_collection = {} )
329+ sentry_init (integrations = [PyramidIntegration ()])
330330 errors = capture_exceptions ()
331331
332332 @route ("/" )
@@ -347,7 +347,7 @@ def errorhandler(exc, request):
347347def test_errorhandler_500 (
348348 sentry_init , pyramid_config , capture_exceptions , route , get_client
349349):
350- sentry_init (integrations = [PyramidIntegration ()], data_collection = {} )
350+ sentry_init (integrations = [PyramidIntegration ()])
351351 errors = capture_exceptions ()
352352
353353 @route ("/" )
@@ -372,7 +372,7 @@ def errorhandler(exc, request):
372372def test_error_in_errorhandler (
373373 sentry_init , pyramid_config , capture_events , route , get_client
374374):
375- sentry_init (integrations = [PyramidIntegration ()], data_collection = {} )
375+ sentry_init (integrations = [PyramidIntegration ()])
376376
377377 @route ("/" )
378378 def index (request ):
@@ -448,7 +448,7 @@ def tween(request):
448448
449449
450450def test_tween_ok (sentry_init , pyramid_config , capture_exceptions , route , get_client ):
451- sentry_init (integrations = [PyramidIntegration ()], data_collection = {} )
451+ sentry_init (integrations = [PyramidIntegration ()])
452452 errors = capture_exceptions ()
453453
454454 @route ("/" )
0 commit comments