Skip to content

Commit b6e4100

Browse files
committed
more test updates
1 parent 51c3aab commit b6e4100

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integrations/django/asgi/test_asgi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ async def test_has_trace_if_performance_enabled(sentry_init, capture_events):
321321
async def test_has_trace_if_performance_disabled(sentry_init, capture_events):
322322
sentry_init(
323323
integrations=[DjangoIntegration()],
324+
traces_sample_rate=None, # disable all performance monitoring
324325
)
325326

326327
events = capture_events()
@@ -386,6 +387,7 @@ async def test_trace_from_headers_if_performance_enabled(sentry_init, capture_ev
386387
async def test_trace_from_headers_if_performance_disabled(sentry_init, capture_events):
387388
sentry_init(
388389
integrations=[DjangoIntegration()],
390+
traces_sample_rate=None, # disable all performance monitoring
389391
)
390392

391393
events = capture_events()

0 commit comments

Comments
 (0)