From 50fd62ef78422e39f7f8e29f22c88ae4a0d48e90 Mon Sep 17 00:00:00 2001 From: "getsantry[bot]" <66042841+getsantry[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 21:10:59 +0000 Subject: [PATCH] :hammer_and_wrench: apply pre-commit fixes --- .../ingest_consumer/test_ingest_consumer_processing.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/sentry/ingest/ingest_consumer/test_ingest_consumer_processing.py b/tests/sentry/ingest/ingest_consumer/test_ingest_consumer_processing.py index f0aa650a9f98bf..0a915eaea443c0 100644 --- a/tests/sentry/ingest/ingest_consumer/test_ingest_consumer_processing.py +++ b/tests/sentry/ingest/ingest_consumer/test_ingest_consumer_processing.py @@ -160,10 +160,13 @@ def test_transactions_spawn_save_event_transaction( project_id=project_id, ) + from unittest.mock import patch + from sentry.utils import event_tracker -@patch('event_tracker.is_tracked', return_value=True) + +@patch("event_tracker.is_tracked", return_value=True) @django_db_all def test_transactions_tracks_save_event_transaction( default_project, @@ -215,6 +218,7 @@ def test_transactions_tracks_save_event_transaction( # project_id=project_id, # ) + @django_db_all def test_accountant_transaction(default_project): storage: MemoryMessageStorage[KafkaPayload] = MemoryMessageStorage()