oncall-engine/engine/apps/api/tests
Joey Orlando 5227ee3798
chore: random slack code cleanup (#5307)
# What this PR does

Related to https://github.com/grafana/oncall/pull/5287

Few random "clean-ups", type improvements, etc.

Additionally, fixes a change made in #5292; we should wait to read from
`slack_message.channel.slack_id`, until we've performed the
data-migration mentioned in that PR (in the mean-time we should continue
to use `slack_message._channel_id`).

## 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] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-11-29 13:21:29 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
conftest.py chore: random slack code cleanup (#5307) 2024-11-29 13:21:29 +00:00
test_alert_group.py Reworked declare incident escalation step (#5130) 2024-10-07 19:26:10 +00:00
test_alert_group_escalation_snapshot.py cleanup CustomButton backend code + add ngrok/express outgoing webhook e2e test (#2544) 2024-03-28 15:37:22 +00:00
test_alert_group_table_settings.py Fix alert group columns validation (#3577) 2023-12-15 17:15:50 +00:00
test_alert_receive_channel.py chore: random slack code cleanup (#5307) 2024-11-29 13:21:29 +00:00
test_alert_receive_channel_template.py Adds new templates cheatsheats (#3643) 2024-01-17 13:49:36 +00:00
test_auth.py update URLs constructed by the backend to support IRM plugin (#5137) 2024-10-09 08:55:10 -04:00
test_channel_filter.py chore: fix some minor issues with recent slack_channel changes (#5228) 2024-11-05 04:51:04 -05:00
test_direct_paging.py add POST /escalation public API endpoint + add public API docs for teams/organization endpoints (#4815) 2024-08-15 18:31:35 +00:00
test_escalation_chain.py Fix team changing on PUT request if team is not in request data (#3530) 2023-12-07 14:44:52 +00:00
test_escalation_policy.py Add openAPI schema for some internal endpoints (#5037) 2024-10-24 09:24:36 +00:00
test_features.py Improve OpenAPI schema coverage (#3629) 2024-01-12 15:11:22 +00:00
test_integration_heartbeat.py Add reset button to disable integration heartbeat (#3959) 2024-03-04 19:20:00 +00:00
test_labels.py fix: update internal labels endpoints to work with RBAC (#5099) 2024-10-02 17:39:49 +00:00
test_live_settings.py Telegram long polling (#2250) 2023-08-24 09:12:24 +02:00
test_oncall_shift.py fix: Add rolling users validation for oncall shift API (#5050) 2024-09-20 21:06:33 +00:00
test_openapi_schema.py allow specifying more than one redis server URI in the REDIS_URI env var (#3368) 2023-11-16 10:48:36 -05:00
test_organization.py feat: add grafana_irm_enabled to GET /organization endpoint response (#5230) 2024-11-05 05:54:38 -05:00
test_permissions.py feat: update RBAC permissioning to support grafana-irm-app (#5149) 2024-10-10 19:02:21 +00:00
test_preview_template_options.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_public_api_tokens.py Handle None role when syncing users from Grafana (#3147) 2023-10-19 17:39:08 +00:00
test_resolution_note.py Resolution note source mobile app (#3174) 2023-10-20 15:22:45 +01:00
test_route_regex_debugger.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_schedule_export.py Handle None role when syncing users from Grafana (#3147) 2023-10-19 17:39:08 +00:00
test_schedules.py fix: update next_shifts_per_user to only list users with upcoming shifts (#5264) 2024-11-18 20:29:23 +00:00
test_set_org_default_slack_channel.py chore: fix some minor issues with recent slack_channel changes (#5228) 2024-11-05 04:51:04 -05:00
test_shift_swaps.py Speed up internal api endpoints (#4830) 2024-08-15 14:20:55 +00:00
test_slack_channels.py Handle None role when syncing users from Grafana (#3147) 2023-10-19 17:39:08 +00:00
test_slack_team_settings.py Handle None role when syncing users from Grafana (#3147) 2023-10-19 17:39:08 +00:00
test_team.py cleanup CustomButton backend code + add ngrok/express outgoing webhook e2e test (#2544) 2024-03-28 15:37:22 +00:00
test_telegram_channel.py Handle None role when syncing users from Grafana (#3147) 2023-10-19 17:39:08 +00:00
test_user.py feat: update RBAC permissioning to support grafana-irm-app (#5149) 2024-10-10 19:02:21 +00:00
test_user_groups.py Add endpoint to get a single user group (#4395) 2024-05-24 20:26:28 +00:00
test_user_notification_policy.py Allow custom wait delay (#4446) 2024-06-03 13:06:47 +00:00
test_user_schedule_export.py Handle None role when syncing users from Grafana (#3147) 2023-10-19 17:39:08 +00:00
test_webhook_presets.py Migrate webhooks integration_filter to use a m2m field instead (#3946) 2024-02-23 11:55:44 +00:00
test_webhooks.py Add manual trigger support for webhooks (#4934) 2024-09-09 12:17:23 +00:00