Skip to content

Commit 6bf8f11

Browse files
fix test
1 parent 5496a45 commit 6bf8f11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integrations/django/test_basic.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,9 @@ def test_custom_urlconf_middleware(
11921192
settings.MIDDLEWARE.insert(0, urlconf)
11931193
client.application.load_middleware()
11941194

1195-
sentry_init(integrations=[DjangoIntegration()], traces_sample_rate=1.0)
1195+
sentry_init(
1196+
integrations=[DjangoIntegration(middleware_spans=True)], traces_sample_rate=1.0
1197+
)
11961198
events = capture_events()
11971199

11981200
content, status, _headers = unpack_werkzeug_response(client.get("/custom/ok"))

0 commit comments

Comments
 (0)