File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff line change 77import pytest
88
99import sentry_sdk
10- from sentry_sdk ._types import SENSITIVE_DATA_SUBSTITUTE
1110import sentry_sdk .integrations .quart as quart_sentry
1211from sentry_sdk import (
1312 capture_exception ,
1413 capture_message ,
1514 set_tag ,
1615)
16+ from sentry_sdk ._types import SENSITIVE_DATA_SUBSTITUTE
1717from sentry_sdk .integrations .logging import LoggingIntegration
1818
1919
You can’t perform that action at this time.
0 commit comments