Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/sentry/monitors/test_system_incidents.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def make_key(offset: timedelta) -> str:
@mock.patch("sentry.monitors.system_incidents.logger")
@mock.patch("sentry.monitors.system_incidents.metrics")
@override_options({"crons.tick_volume_anomaly_detection": True})
def test_record_clock_tiock_volume_metric_simple(metrics, logger):
def test_record_clock_tick_volume_metric_simple(metrics, logger):
tick = timezone.now().replace(second=0, microsecond=0)

# This is the timestamp we're looking at just before the tick
Expand Down Expand Up @@ -160,7 +160,7 @@ def test_record_clock_tiock_volume_metric_simple(metrics, logger):
@mock.patch("sentry.monitors.system_incidents.logger")
@mock.patch("sentry.monitors.system_incidents.metrics")
@override_options({"crons.tick_volume_anomaly_detection": True})
def test_record_clock_tiock_volume_metric_volume_drop(metrics, logger):
def test_record_clock_tick_volume_metric_volume_drop(metrics, logger):
tick = timezone.now().replace(second=0, microsecond=0)

# This is the timestamp we're looking at just before the tick
Expand Down Expand Up @@ -214,7 +214,7 @@ def test_record_clock_tiock_volume_metric_volume_drop(metrics, logger):
@mock.patch("sentry.monitors.system_incidents.logger")
@mock.patch("sentry.monitors.system_incidents.metrics")
@override_options({"crons.tick_volume_anomaly_detection": True})
def test_record_clock_tiock_volume_metric_low_history(metrics, logger):
def test_record_clock_tick_volume_metric_low_history(metrics, logger):
tick = timezone.now().replace(second=0, microsecond=0)

# This is the timestamp we're looking at just before the tick
Expand All @@ -236,7 +236,7 @@ def test_record_clock_tiock_volume_metric_low_history(metrics, logger):
@mock.patch("sentry.monitors.system_incidents.logger")
@mock.patch("sentry.monitors.system_incidents.metrics")
@override_options({"crons.tick_volume_anomaly_detection": True})
def test_record_clock_tiock_volume_metric_uniform(metrics, logger):
def test_record_clock_tick_volume_metric_uniform(metrics, logger):
tick = timezone.now().replace(second=0, microsecond=0)

# This is the timestamp we're looking at just before the tick
Expand Down