Release 1.7.0: Grafana catalog, ingress/IRM, tests
This commit is contained in:
@ -42,6 +42,7 @@ def test_status_with_mocks(client: TestClient) -> None:
|
||||
vault_token="t",
|
||||
grafana_url="https://grafana.example",
|
||||
grafana_service_account_token="g",
|
||||
grafana_sources_json="",
|
||||
forgejo_url="https://git.example",
|
||||
forgejo_token="f",
|
||||
grafana_webhook_secret="",
|
||||
@ -57,5 +58,6 @@ def test_status_with_mocks(client: TestClient) -> None:
|
||||
d = r.json()
|
||||
assert d["vault"]["status"] == "ok"
|
||||
assert d["grafana"]["status"] == "ok"
|
||||
assert d["grafana"].get("service_account_login") == "tester"
|
||||
assert len(d["grafana"]["instances"]) == 1
|
||||
assert d["grafana"]["instances"][0].get("service_account_login") == "tester"
|
||||
assert d["forgejo"]["status"] == "ok"
|
||||
|
||||
Reference in New Issue
Block a user