oncall-engine/engine/apps
Vadim Stepanov e7950139f3
Fix flaky Slack test (#1841)
# What this PR does
Fix [flaky
test](https://github.com/grafana/oncall/actions/runs/4821277510/jobs/8586941639#step:5:706)
`test_get_user_groups_filter_by_handle` using `UniqueFaker` on
`SlackUserGroupFactory.handle` to make handles always unique.

Before:

```shell
>>> len(set([SlackUserGroupFactory().handle for _ in range(100)]))
93
```

After:

```shell
>>> len(set([SlackUserGroupFactory().handle for _ in range(100)]))
100
```


## 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-04-27 17:41:36 +01:00
..
alerts update web UI, Slack, and Telegram to allow silencing an acknowledged alert group (#1831) 2023-04-27 14:52:35 +00:00
api Use subquery for mine alert groups (#1803) 2023-04-27 11:20:45 +08:00
api_for_grafana_incident Include alert details in Grafana Incident alert-group endpoint (#1280) 2023-02-03 13:43:21 +00:00
auth_token Change Organization Deleted/Moved Precedence (#1402) 2023-02-24 11:45:21 +00:00
base Fix documentation links (#1766) 2023-04-19 10:12:16 +01:00
email Inbound email integration (#837) 2023-03-16 13:59:21 +08:00
grafana_plugin Check stack cluster for insight_logs (#1469) 2023-03-09 06:30:54 +00:00
heartbeat Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
integrations Limit number of alertmanager alerts in alert group to autoresolve (#1779) 2023-04-24 05:38:21 +00:00
mobile_app Update apns payload with corrected critical field (#1646) 2023-03-28 10:57:40 +00:00
oss_installation Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
public_api Update shift API to use a default for interval when missing (#1810) 2023-04-21 19:13:09 +00:00
schedules Rework schedule related users, add endpoint (#1828) 2023-04-26 20:46:51 +00:00
slack Fix flaky Slack test (#1841) 2023-04-27 17:41:36 +01:00
social_auth Fix insight_logs exceptions (#1757) 2023-04-17 07:16:18 +00:00
telegram update web UI, Slack, and Telegram to allow silencing an acknowledged alert group (#1831) 2023-04-27 14:52:35 +00:00
twilioapp Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
user_management Fix insight_logs exceptions (#1757) 2023-04-17 07:16:18 +00:00
webhooks Restore removed parameter (#1832) 2023-04-26 22:38:16 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00