Skip to content

Commit

Permalink
Merge branch 'potel-base' into potel-base-run-all-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sl0thentr0py committed Dec 5, 2024
2 parents de89a71 + 7c70b9c commit 74d2603
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
use_isolation_scope,
setup_scope_context_management,
)
from tests.conftest import ApproxDict


@pytest.fixture(autouse=True)
Expand Down Expand Up @@ -800,8 +801,8 @@ def test_nested_scopes_with_tags(sentry_init, capture_envelopes):
transaction = envelope.items[0].get_transaction_event()

assert transaction["tags"] == {"isolation_scope1": 1, "current_scope2": 1, "trx": 1}
assert transaction["spans"][0]["tags"] == {"a": 1}
assert transaction["spans"][1]["tags"] == {"b": 1}
assert transaction["spans"][0]["tags"] == ApproxDict({"a": 1})
assert transaction["spans"][1]["tags"] == ApproxDict({"b": 1})


def test_should_send_default_pii_true(sentry_init):
Expand Down

0 comments on commit 74d2603

Please sign in to comment.