8000 check contexts · getsentry/sentry-python@925046e · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 925046e

Browse files
committed
check contexts
1 parent 9aa1365 commit 925046e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_new_scopes_compat_event.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ def test_event5(sentry_init, capture_envelopes, expected_error, expected_transac
492492
transaction = transaction_envelope.get_transaction_event()
493493
attachment = error_envelope.items[-1]
494494

495+
assert error["contexts"] == expected_error(trx, span)["contexts"]
495496
assert error == expected_error(trx< 4296 /span>, span)
496497
assert transaction == expected_transaction(trx, span)
497498
assert attachment.headers == {

0 commit comments

Comments
 (0)
0