Skip to content

Commit 7fcb6db

Browse files
committed
use with_feature instead of deprecated apply_feature_flag_on_class
1 parent 7f5d117 commit 7fcb6db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sentry/incidents/subscription_processor/test_subscription_processor_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from sentry.testutils.cases import SnubaTestCase, SpanTestCase, TestCase
1919
from sentry.testutils.fixtures import DetectorPriorityLevel
2020
from sentry.testutils.helpers.datetime import freeze_time
21-
from sentry.testutils.helpers.features import apply_feature_flag_on_cls
21+
from sentry.testutils.helpers.features import with_feature
2222
from sentry.workflow_engine.models import DataSource, DataSourceDetector, DetectorState
2323
from sentry.workflow_engine.models.data_condition import Condition, DataCondition
2424
from sentry.workflow_engine.models.detector import Detector
@@ -27,7 +27,7 @@
2727

2828

2929
@freeze_time()
30-
@apply_feature_flag_on_cls("organizations:workflow-engine-single-process-metric-issues")
30+
@with_feature("organizations:workflow-engine-single-process-metric-issues")
3131
class ProcessUpdateBaseClass(TestCase, SpanTestCase, SnubaTestCase):
3232
@pytest.fixture(autouse=True)
3333
def _setup_metrics_patch(self):

0 commit comments

Comments
 (0)