Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed Nov 24, 2023
1 parent ad9d9a1 commit 8e70c19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/integrations/django/test_db_query_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from sentry_sdk.consts import SPANDATA
from sentry_sdk.integrations.django import DjangoIntegration

from tests.conftest import unpack_werkzeug_response
from tests.integrations.django.utils import pytest_mark_django_db_decorator
from tests.integrations.django.myapp.wsgi import application

Expand Down Expand Up @@ -49,7 +50,7 @@ def test_query_source_disabled(

events = capture_events()

_, status, _ = client.get(reverse("postgres_select_orm"))
_, status, _ = unpack_werkzeug_response(client.get(reverse("postgres_select_orm")))
assert status == "200 OK"

(event,) = events
Expand Down Expand Up @@ -85,7 +86,7 @@ def test_query_source(sentry_init, client, capture_events):

events = capture_events()

_, status, _ = client.get(reverse("postgres_select_orm"))
_, status, _ = unpack_werkzeug_response(client.get(reverse("postgres_select_orm")))
assert status == "200 OK"

(event,) = events
Expand Down

0 comments on commit 8e70c19

Please sign in to comment.