Skip to content

Commit

Permalink
Fixed checks for structured http data (#1905)
Browse files Browse the repository at this point in the history
* Fixed checks for structured HTTP data
  • Loading branch information
antonpirker authored Feb 16, 2023
1 parent de3b6c1 commit 42847de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integrations/stdlib/test_httplib.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def test_crumb_capture(sentry_init, capture_events):
"method": "GET",
"status_code": 200,
"reason": "OK",
"http.fragment": "",
"http.query": "",
}


Expand All @@ -71,6 +73,8 @@ def before_breadcrumb(crumb, hint):
"status_code": 200,
"reason": "OK",
"extra": "foo",
"http.fragment": "",
"http.query": "",
}

if platform.python_implementation() != "PyPy":
Expand Down Expand Up @@ -129,6 +133,8 @@ def test_httplib_misuse(sentry_init, capture_events, request):
"method": "GET",
"status_code": 200,
"reason": "OK",
"http.fragment": "",
"http.query": "",
}


Expand Down

0 comments on commit 42847de

Please sign in to comment.