You've already forked oncall
mirror of
https://github.com/linkedin/oncall.git
synced 2025-11-29 23:38:17 +02:00
Use iris dynamic plans to escalate
Reduce plan spam in Iris from every Oncall team making a plan, instead designate medium and urgent escalation plans and dynamically determine targets.
This commit is contained in:
@@ -58,7 +58,7 @@ def test_api_v0_get_team(team, role, roster, schedule):
|
||||
assert re.status_code == 200
|
||||
team = re.json()
|
||||
assert isinstance(team, dict)
|
||||
expected_set = {'users', 'admins', 'services', 'rosters', 'name', 'id', 'slack_channel', 'email', 'scheduling_timezone', 'iris_plan'}
|
||||
expected_set = {'users', 'admins', 'services', 'rosters', 'name', 'id', 'slack_channel', 'email', 'scheduling_timezone', 'iris_plan', 'iris_enabled'}
|
||||
assert expected_set == set(team.keys())
|
||||
|
||||
# it should also support filter by fields
|
||||
@@ -66,7 +66,7 @@ def test_api_v0_get_team(team, role, roster, schedule):
|
||||
assert re.status_code == 200
|
||||
team = re.json()
|
||||
assert isinstance(team, dict)
|
||||
expected_set = {'users', 'admins', 'services', 'name', 'id', 'slack_channel', 'email', 'scheduling_timezone', 'iris_plan'}
|
||||
expected_set = {'users', 'admins', 'services', 'name', 'id', 'slack_channel', 'email', 'scheduling_timezone', 'iris_plan', 'iris_enabled'}
|
||||
assert expected_set == set(team.keys())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user