oncall-engine/engine/apps/public_api/tests
Vadim Stepanov bd12d38ee0
Public API: allow null escalation chain when creating routes (#1557)
# What this PR does
Allows passing `null` as a value for `escalation_chain` when creating
routes via the public API.

## Which issue(s) this PR fixes
This is needed to unblock https://github.com/grafana/oncall/pull/1555 +
creating a route without an escalation chain is possible in the web UI,
so this PR makes the public API more consistent with the web UI.

## Checklist

- [x] Tests updated
- [x] Documentation added
- [x] `CHANGELOG.md` updated
2023-03-16 09:40:50 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_alerts.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_custom_actions.py Allow non-JSON custom webhook templates, provided they render as valid JSON (#639) 2022-10-19 12:32:21 +01:00
test_escalation_chain.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_escalation_policies.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_incidents.py Add alert groups state filter (#1133) 2023-01-17 10:28:29 +00:00
test_integrations.py Fix of templates api behaviour for public and private api (#1408) 2023-03-01 16:32:15 +08:00
test_maintenance.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_on_call_shifts.py PD migrator: migrate overrides (#1454) 2023-03-06 13:44:28 +00:00
test_personal_notification_rules.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_ratelimit.py Add ratelimit for phone number verification (#1354) 2023-02-21 16:47:52 +08:00
test_resolution_notes.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_routes.py Public API: allow null escalation chain when creating routes (#1557) 2023-03-16 09:40:50 +00:00
test_schedule_export.py Fix/rewrite flaky schedule tests (#1397) 2023-02-23 18:20:51 +00:00
test_schedules.py Fix/rewrite flaky schedule tests (#1397) 2023-02-23 18:20:51 +00:00
test_slack_channels.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_teams.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_user_groups.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_users.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00