Skip to content

Commit 025416f

Browse files
committed
Updated tests
1 parent 233af79 commit 025416f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/integrations/starlette/test_starlette.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
from sentry_sdk import capture_message, get_baggage, get_traceparent
1515
from sentry_sdk.integrations.asgi import SentryAsgiMiddleware
16+
from sentry_sdk.integrations.logging import LoggingIntegration
1617
from sentry_sdk.integrations.starlette import (
1718
StarletteIntegration,
1819
StarletteRequestExtractor,
@@ -943,7 +944,9 @@ def test_active_thread_id(sentry_init, capture_envelopes, teardown_profiling, en
943944

944945

945946
def test_original_request_not_scrubbed(sentry_init, capture_events):
946-
sentry_init(integrations=[StarletteIntegration()])
947+
sentry_init(
948+
integrations=[StarletteIntegration(), LoggingIntegration(event_level="ERROR")]
949+
)
947950

948951
events = capture_events()
949952

0 commit comments

Comments
 (0)