oncall-engine/engine/apps/public_api/tests
Ildar Iskhakov c718863bd8
Add custom ratelimits per org (#5004)
# What this PR does

This PR refactors Throttling for public API and integrations API and
allows to specify organization ratelimits.


## Which issue(s) this PR closes

Related to [issue link here]

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [ ] 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-09-17 23:16:41 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_alert_groups.py Check for user.is_active during mobile app auth (#4990) 2024-09-06 12:25:23 +00:00
test_alerts.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_custom_actions.py Migrate webhooks integration_filter to use a m2m field instead (#3946) 2024-02-23 11:55:44 +00:00
test_escalation.py Update alert groups public API filters support (#4832) 2024-08-15 19:58:25 +00:00
test_escalation_chain.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_escalation_policies.py Make type required when creating an escalation policy step (#4356) 2024-05-20 13:49:19 +00:00
test_integrations.py Fix validation of integration name when team is not present in request data (#4132) 2024-03-29 04:57:27 +00:00
test_maintenance.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_on_call_shifts.py Fix interval validation when creating shift via public API (#3775) 2024-01-31 11:06:54 -03:00
test_personal_notification_rules.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_ratelimit.py Add custom ratelimits per org (#5004) 2024-09-17 23:16:41 +00:00
test_resolution_notes.py Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
test_routes.py Fix routes and schedules public api endpoints (#3751) 2024-01-25 12:52:55 +00:00
test_schedule_export.py upgrade flake8 to v7 (#4141) 2024-04-02 14:26:19 +00:00
test_schedules.py Fix routes and schedules public api endpoints (#3751) 2024-01-25 12:52:55 +00:00
test_shift_swap.py Update Makefile dev bootstrap; fix test (#4582) 2024-06-25 14:43:50 +00:00
test_slack_channels.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_teams.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_user_groups.py augment API response pagination attributes (#2471) 2023-07-14 11:19:40 -04:00
test_users.py Include teams info in users API (#3817) 2024-02-01 17:16:57 -03:00
test_webhooks.py Allow webhook modification by API for advanced webhook (#4175) 2024-04-23 19:18:12 +00:00