@@ -34,7 +34,10 @@ def before_breadcrumb(crumb, hint):
3434
3535 if asyncio .iscoroutinefunction (httpx_client .get ):
3636 response = asyncio .get_event_loop ().run_until_complete (
37- httpx_client .get (url , timeout = timeout , verify = False )
37+ httpx_client .get (
38+ url ,
39+ timeout = timeout ,
40+ )
3841 )
3942 else :
4043 response = httpx_client .get (url )
@@ -77,7 +80,10 @@ def test_outgoing_trace_headers(sentry_init, httpx_client):
7780 ) as transaction :
7881 if asyncio .iscoroutinefunction (httpx_client .get ):
7982 response = asyncio .get_event_loop ().run_until_complete (
80- httpx_client .get (url , timeout = timeout , verify = False )
83+ httpx_client .get (
84+ url ,
85+ timeout = timeout ,
86+ )
8187 )
8288 else :
8389 response = httpx_client .get (url )
@@ -117,7 +123,6 @@ def test_outgoing_trace_headers_append_to_baggage(sentry_init, httpx_client):
117123 url ,
118124 headers = {"baGGage" : "custom=data" },
119125 timeout = timeout ,
120- verify = False ,
121126 )
122127 )
123128 else :
@@ -270,7 +275,10 @@ def test_option_trace_propagation_targets(
270275 with sentry_sdk .start_transaction (): # Must be in a transaction to propagate headers
271276 if asyncio .iscoroutinefunction (httpx_client .get ):
272277 asyncio .get_event_loop ().run_until_complete (
273- httpx_client .get (url , timeout = timeout , verify = False )
278+ httpx_client .get (
279+ url ,
280+ timeout = timeout ,
281+ )
274282 )
275283 else :
276284 httpx_client .get (url )
@@ -350,7 +358,10 @@ def test_span_origin(sentry_init, capture_events, httpx_client):
350358 with start_transaction (name = "test_transaction" ):
351359 if asyncio .iscoroutinefunction (httpx_client .get ):
352360 asyncio .get_event_loop ().run_until_complete (
353- httpx_client .get (url , timeout = timeout , verify = False )
361+ httpx_client .get (
362+ url ,
363+ timeout = timeout ,
364+ )
354365 )
355366 else :
356367 httpx_client .get (url )
0 commit comments