Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed Apr 18, 2024
1 parent f2a3363 commit 0a369f1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/integrations/clickhouse_driver/test_clickhouse_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def test_clickhouse_client_breadcrumbs(sentry_init, capture_events) -> None:
for crumb in event["breadcrumbs"]["values"]:
crumb.pop("timestamp", None)

assert event["breadcrumbs"]["values"] == expected_breadcrumbs
assert event["breadcrumbs"]["values"] == ApproxDict(expected_breadcrumbs)


def test_clickhouse_client_breadcrumbs_with_pii(sentry_init, capture_events) -> None:
Expand Down Expand Up @@ -328,7 +328,7 @@ def test_clickhouse_client_spans(
span.pop("start_timestamp", None)
span.pop("timestamp", None)

assert event["spans"] == expected_spans
assert event["spans"] == ApproxDict(expected_spans)


def test_clickhouse_client_spans_with_pii(
Expand Down Expand Up @@ -452,7 +452,7 @@ def test_clickhouse_client_spans_with_pii(
span.pop("start_timestamp", None)
span.pop("timestamp", None)

assert event["spans"] == expected_spans
assert event["spans"] == ApproxDict(expected_spans)


def test_clickhouse_dbapi_breadcrumbs(sentry_init, capture_events) -> None:
Expand Down Expand Up @@ -766,7 +766,7 @@ def test_clickhouse_dbapi_spans(sentry_init, capture_events, capture_envelopes)
span.pop("start_timestamp", None)
span.pop("timestamp", None)

assert event["spans"] == expected_spans
assert event["spans"] == ApproxDict(expected_spans)


def test_clickhouse_dbapi_spans_with_pii(
Expand Down Expand Up @@ -890,4 +890,4 @@ def test_clickhouse_dbapi_spans_with_pii(
span.pop("start_timestamp", None)
span.pop("timestamp", None)

assert event["spans"] == expected_spans
assert event["spans"] == ApproxDict(expected_spans)

0 comments on commit 0a369f1

Please sign in to comment.