oncall-engine/engine/apps/alerts/tests
Vadim Stepanov 381a9ecf54
Delete duplicate direct paging integrations (#3412)
# What this PR does

Deletes duplicate direct paging integrations (i.e. keeps only the first
direct paging integration per team).
Also adds a unique constraint that will make such duplicates impossible
at the DB level.

## Which issue(s) this PR fixes

Related to https://github.com/grafana/oncall-private/issues/2302

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-11-30 11:19:12 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
conftest.py modify check_escalation_finished_task task (#1266) 2023-03-17 10:14:08 +00:00
factories.py Pass all integration labels down to alert groups (#3302) 2023-11-08 14:04:58 +00:00
test_acknowledge_reminder.py Fix acknowledge reminder (#3345) 2023-11-14 13:39:27 +00:00
test_alert.py Trigger distribute task after alert is committed (#3420) 2023-11-24 12:02:32 +00:00
test_alert_group.py Add a command to continue escalations for alert groups (#3283) 2023-11-07 13:44:23 +00:00
test_alert_group_renderer.py remove references to AlertGroup.is_archived and AlertGroup.unarchived_objects (#2524) 2023-07-18 11:48:34 +00:00
test_alert_manager.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_alert_receiver_channel.py Delete duplicate direct paging integrations (#3412) 2023-11-30 11:19:12 +00:00
test_channel_filter.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_check_escalation_finished_task.py Add notifications success ratio log to auditor (#3312) 2023-11-10 16:39:13 +08:00
test_custom_button.py add mypy static type checker to backend codebase (#2151) 2023-06-12 12:50:33 -04:00
test_custom_webhook_result.py Add escalation chain support for new webhooks (#1654) 2023-04-05 12:03:55 +00:00
test_default_templates.py Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
test_escalation_chain.py Allow changing team for escalation chains (#1658) 2023-03-30 10:43:00 +01:00
test_escalation_policy_snapshot.py Fix escalation step "Notify if num alerts in time window" (#2965) 2023-09-05 10:32:59 +00:00
test_escalation_snapshot.py Fix build escalation snapshot (#2954) 2023-09-04 11:10:28 +00:00
test_escalation_snapshot_mixin.py Fix silence for paused escalations or alert groups with empty escalation chain (#2929) 2023-08-31 11:47:13 +00:00
test_grafana_alerting_sync.py Improve getting/updating contact points for Grafana Alerting integration (#2742) 2023-08-18 12:12:29 +02:00
test_incident_log_builder.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_maintenance.py Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
test_notify_ical_schedule_shift.py Move cache clear to fixtures, fix some deprecation notices (#3269) 2023-11-06 16:52:50 +00:00
test_notify_user.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
test_paging.py Improve performance of GET /users and GET /teams endpoints used by add responders popup (#3241) 2023-11-03 12:40:54 -04:00
test_representative.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_silence.py OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
test_utils.py Fix outgoing webhook to resolve IP from parsed hostname 2022-09-22 14:35:37 -03:00