Skip to content

Commit 16ed0c8

Browse files
committed
fix test
1 parent a590c8e commit 16ed0c8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integrations/aiohttp/test_aiohttp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ async def hello(request):
14071407

14081408
server_span, _client_segment = [item.payload for item in items]
14091409

1410-
if request.node.callspec.id == "data_collection_off_does_not_add_headers":
1410+
if request.node.callspec.id.endswith("data_collection_off_does_not_add_headers"):
14111411
assert "http.request.header.authorization" not in server_span["attributes"]
14121412
assert "http.request.header.cookie" not in server_span["attributes"]
14131413
else:

tests/integrations/quart/test_quart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
import pytest
88

99
import sentry_sdk
10-
from sentry_sdk._types import SENSITIVE_DATA_SUBSTITUTE
1110
import sentry_sdk.integrations.quart as quart_sentry
1211
from sentry_sdk import (
1312
capture_exception,
1413
capture_message,
1514
set_tag,
1615
)
16+
from sentry_sdk._types import SENSITIVE_DATA_SUBSTITUTE
1717
from sentry_sdk.integrations.logging import LoggingIntegration
1818

1919

0 commit comments

Comments
 (0)