We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5496a45 commit 6bf8f11Copy full SHA for 6bf8f11
tests/integrations/django/test_basic.py
@@ -1192,7 +1192,9 @@ def test_custom_urlconf_middleware(
1192
settings.MIDDLEWARE.insert(0, urlconf)
1193
client.application.load_middleware()
1194
1195
- sentry_init(integrations=[DjangoIntegration()], traces_sample_rate=1.0)
+ sentry_init(
1196
+ integrations=[DjangoIntegration(middleware_spans=True)], traces_sample_rate=1.0
1197
+ )
1198
events = capture_events()
1199
1200
content, status, _headers = unpack_werkzeug_response(client.get("/custom/ok"))
0 commit comments