Skip to content

Commit 9a54013

Browse files
add len assertion
1 parent 346d124 commit 9a54013

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/integrations/stdlib/test_httplib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,6 +1078,7 @@ def test_http_timeout(
10781078

10791079
sentry_sdk.flush()
10801080
spans = [item.payload for item in items if item.type == "span"]
1081+
assert len(spans) == 2
10811082
span = spans[0]
10821083
assert span["attributes"]["sentry.op"] == "http.client"
10831084
assert span["name"] == f"GET http://localhost:{PORT}/bla" # noqa: E231

0 commit comments

Comments
 (0)