Skip to content

Commit 42847de

Browse files
authored
Fixed checks for structured http data (#1905)
* Fixed checks for structured HTTP data
1 parent de3b6c1 commit 42847de

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/integrations/stdlib/test_httplib.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ def test_crumb_capture(sentry_init, capture_events):
4545
"method": "GET",
4646
"status_code": 200,
4747
"reason": "OK",
48+
"http.fragment": "",
49+
"http.query": "",
4850
}
4951

5052

@@ -71,6 +73,8 @@ def before_breadcrumb(crumb, hint):
7173
"status_code": 200,
7274
"reason": "OK",
7375
"extra": "foo",
76+
"http.fragment": "",
77+
"http.query": "",
7478
}
7579

7680
if platform.python_implementation() != "PyPy":
@@ -129,6 +133,8 @@ def test_httplib_misuse(sentry_init, capture_events, request):
129133
"method": "GET",
130134
"status_code": 200,
131135
"reason": "OK",
136+
"http.fragment": "",
137+
"http.query": "",
132138
}
133139

134140

0 commit comments

Comments
 (0)