oncall-engine/engine/apps/grafana_plugin/tests
Michael Derynck a25d44da1a
Move validate_grafana_token_format to common location, use in sync_v2 (#4919)
# What this PR does
Moves validate_grafana_token_format to GrafanaAPIClient, use it in
sync_v2 to improve logging and skip requests that would not work.

## 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
- [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-08-23 19:52:53 +00:00
..
test_app_config.py remove unnecessary CI step bash command (#4397) 2024-05-24 15:13:38 -04:00
test_gcom.py Add more validation when updating api_token (#4918) 2024-08-23 18:21:57 +00:00
test_gcom_api_client.py address occasional missing nextCursor data key from GCOM GET /instances (#4794) 2024-08-09 15:42:10 +00:00
test_grafana_api_client.py Rework organization sync and grafana plugin engine backend (#4756) 2024-07-31 16:12:56 +00:00
test_install.py bump uwsgi to 2.0.26 + Python to 3.12.3 (#4495) 2024-06-10 15:33:37 -04:00
test_self_hosted_install.py Don't update RBAC status on Grafana server error (#4753) 2024-07-29 16:28:35 +00:00
test_status.py Fix inconsistency with API URL returned by plugin status (#3122) 2023-10-16 17:38:08 +00:00
test_sync.py Fix flaky test depending on DB ordering (#4907) 2024-08-22 18:56:59 +00:00
test_sync_v2.py Move validate_grafana_token_format to common location, use in sync_v2 (#4919) 2024-08-23 19:52:53 +00:00