Skip to content

Commit fd4a30d

Browse files
committed
remove unused pytest.mark.asyncios
1 parent 5c4027f commit fd4a30d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/integrations/fastapi/test_fastapi.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ async def _error(request: Request):
247247
assert event["request"]["headers"]["authorization"] == "[Filtered]"
248248

249249

250-
@pytest.mark.asyncio
251250
def test_response_status_code_ok_in_transaction_context(sentry_init, capture_envelopes):
252251
"""
253252
Tests that the response status code is added to the transaction "response" context.
@@ -276,7 +275,6 @@ def test_response_status_code_ok_in_transaction_context(sentry_init, capture_env
276275
assert transaction["contexts"]["response"]["status_code"] == 200
277276

278277

279-
@pytest.mark.asyncio
280278
def test_response_status_code_error_in_transaction_context(
281279
sentry_init,
282280
capture_envelopes,
@@ -313,7 +311,6 @@ def test_response_status_code_error_in_transaction_context(
313311
assert transaction["contexts"]["response"]["status_code"] == 500
314312

315313

316-
@pytest.mark.asyncio
317314
def test_response_status_code_not_found_in_transaction_context(
318315
sentry_init,
319316
capture_envelopes,

0 commit comments

Comments
 (0)