Skip to content

Commit 577c640

Browse files
committed
test(requests): Drop stale empty url.query/url.fragment expectations
The stdlib integration no longer emits empty url.query and url.fragment attributes, so the requests breadcrumb tests were asserting on data that is intentionally absent.
1 parent 387408a commit 577c640

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/integrations/requests/test_requests.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ def test_crumb_capture_span_streaming(sentry_init, capture_events, send_default_
5959
{
6060
SPANDATA.URL_FULL: url,
6161
SPANDATA.HTTP_REQUEST_METHOD: "GET",
62-
SPANDATA.URL_FRAGMENT: "",
63-
SPANDATA.URL_QUERY: "",
6462
SPANDATA.HTTP_STATUS_CODE: response.status_code,
6563
}
6664
)
@@ -169,8 +167,6 @@ def test_crumb_capture_client_error_span_streaming(
169167
{
170168
SPANDATA.URL_FULL: url,
171169
SPANDATA.HTTP_REQUEST_METHOD: "GET",
172-
SPANDATA.URL_FRAGMENT: "",
173-
SPANDATA.URL_QUERY: "",
174170
SPANDATA.HTTP_STATUS_CODE: response.status_code,
175171
}
176172
)

0 commit comments

Comments
 (0)