Skip to content

Commit c9cb9de

Browse files
committed
.
1 parent 9c1fd8a commit c9cb9de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/integrations/asgi/test_asgi.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ async def test_auto_session_tracking_with_aggregates(
478478
(session,) = [
479479
envelope for envelope in envelopes if envelope.items[0].type == "sessions"
480480
]
481-
session_aggregates = envelopes[-1].items[0].payload.json["aggregates"]
481+
session_aggregates = session.items[0].payload.json["aggregates"]
482482
assert session_aggregates[0]["exited"] == 2
483483
assert session_aggregates[0]["crashed"] == 1
484484
assert len(session_aggregates) == 1

0 commit comments

Comments
 (0)