diff --git a/tests/integrations/django/myapp/urls.py b/tests/integrations/django/myapp/urls.py index 87d11b791b..e1d0c4c90c 100644 --- a/tests/integrations/django/myapp/urls.py +++ b/tests/integrations/django/myapp/urls.py @@ -149,7 +149,6 @@ def path(path, *args, **kwargs): name="rest_framework_read_body_and_exc", ) ) - urlpatterns.append(path("rest-hello", views.rest_hello, name="rest_hello")) urlpatterns.append( path( "rest-authenticated-hello", diff --git a/tests/integrations/django/myapp/views.py b/tests/integrations/django/myapp/views.py index 21f27455a5..f926ddd1a6 100644 --- a/tests/integrations/django/myapp/views.py +++ b/tests/integrations/django/myapp/views.py @@ -49,10 +49,6 @@ def rest_framework_read_body_and_exc(request): request.data 1 / 0 - @api_view(["GET"]) - def rest_hello(request): - return HttpResponse("ok") - @api_view(["GET"]) def rest_permission_denied_exc(request): raise PermissionDenied("bye") diff --git a/tests/integrations/django/test_basic.py b/tests/integrations/django/test_basic.py index 93b5477010..491e185610 100644 --- a/tests/integrations/django/test_basic.py +++ b/tests/integrations/django/test_basic.py @@ -535,7 +535,6 @@ def test_user_captured( def test_materialized_user_captured( sentry_init, client, - capture_events, capture_items, ): sentry_init( @@ -815,7 +814,6 @@ def test_sql_dict_query_params( @pytest.mark.forked -@pytest_mark_django_db_decorator() @pytest.mark.parametrize("span_streaming", [True, False]) def test_response_trace( sentry_init, @@ -1369,7 +1367,6 @@ def test_request_body( assert "" not in event -@pytest.mark.xfail @pytest.mark.parametrize("span_streaming", [True, False]) def test_read_request( sentry_init, diff --git a/tests/integrations/django/test_db_query_data.py b/tests/integrations/django/test_db_query_data.py index 92162cf1c3..0739b0992b 100644 --- a/tests/integrations/django/test_db_query_data.py +++ b/tests/integrations/django/test_db_query_data.py @@ -900,7 +900,6 @@ def test_db_span_origin_execute( @pytest.mark.parametrize("span_streaming", [True, False]) def test_db_span_origin_executemany( sentry_init, - client, capture_events, capture_items, span_streaming, diff --git a/tests/integrations/django/test_db_transactions.py b/tests/integrations/django/test_db_transactions.py index 179b9920c6..3b5dadfea7 100644 --- a/tests/integrations/django/test_db_transactions.py +++ b/tests/integrations/django/test_db_transactions.py @@ -617,7 +617,6 @@ def test_db_no_autocommit_execute( @pytest.mark.parametrize("span_streaming", [True, False]) def test_db_no_autocommit_executemany( sentry_init, - client, capture_events, capture_items, span_streaming, @@ -900,7 +899,6 @@ def test_db_no_autocommit_rollback_execute( @pytest.mark.parametrize("span_streaming", [True, False]) def test_db_no_autocommit_rollback_executemany( sentry_init, - client, capture_events, capture_items, span_streaming, @@ -1181,7 +1179,6 @@ def test_db_atomic_execute( @pytest.mark.parametrize("span_streaming", [True, False]) def test_db_atomic_executemany( sentry_init, - client, capture_events, capture_items, span_streaming, @@ -1457,7 +1454,6 @@ def test_db_atomic_rollback_execute( @pytest.mark.parametrize("span_streaming", [True, False]) def test_db_atomic_rollback_executemany( sentry_init, - client, capture_events, capture_items, span_streaming, @@ -1737,7 +1733,6 @@ def test_db_atomic_execute_exception( @pytest.mark.parametrize("span_streaming", [True, False]) def test_db_atomic_executemany_exception( sentry_init, - client, capture_events, capture_items, span_streaming,