Skip to content

Commit fceea4f

Browse files
committed
linting
1 parent 27be90d commit fceea4f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/integrations/httpx/test_httpx.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ def test_outgoing_trace_headers(sentry_init, httpx_client, capture_envelopes):
101101
(httpx.Client(), httpx.AsyncClient()),
102102
)
103103
def test_outgoing_trace_headers_append_to_baggage(
104-
sentry_init, httpx_client, capture_envelopes, SortedBaggage, # noqa: N803
104+
sentry_init,
105+
httpx_client,
106+
capture_envelopes,
107+
SortedBaggage, # noqa: N803
105108
):
106109
sentry_init(
107110
traces_sample_rate=1.0,
@@ -137,9 +140,8 @@ def test_outgoing_trace_headers_append_to_baggage(
137140
parent_span_id=request_span["span_id"],
138141
sampled=1,
139142
)
140-
assert (
141-
response.request.headers["baggage"]
142-
== SortedBaggage(f"custom=data,sentry-trace_id={trace_id},sentry-environment=production,sentry-release=d08ebdb9309e1b004c6f52202de58a09c2268e42,sentry-transaction=/interactions/other-dogs/new-dog,sentry-sample_rate=1.0,sentry-sampled=true")
143+
assert response.request.headers["baggage"] == SortedBaggage(
144+
f"custom=data,sentry-trace_id={trace_id},sentry-environment=production,sentry-release=d08ebdb9309e1b004c6f52202de58a09c2268e42,sentry-transaction=/interactions/other-dogs/new-dog,sentry-sample_rate=1.0,sentry-sampled=true"
143145
)
144146

145147

0 commit comments

Comments
 (0)