Skip to content

Commit

Permalink
fixup! Issue #18/EP-4049 rework OIDC metadata building, responsibilit…
Browse files Browse the repository at this point in the history
…y and caching
  • Loading branch information
soxofaan committed Oct 27, 2021
1 parent 6e512c3 commit f1ddc37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,9 @@ def test_startup_during_backend_downtime_and_recover(self, backend1, broken_back

# Backend 2 is up again, but cached is still active
requests_mock.get(backend2 + "/", json={"api_version": "1.0.0"})
requests_mock.get(backend2 + "/credentials/oidc", json={"providers": [
{"id": "egi", "issuer": "https://egi.test", "title": "EGI"}
]})
requests_mock.get(backend2 + "/health", text="ok again")
assert api100.get("/health").assert_status_code(200).json["backend_status"] == {
"b1": {"status_code": 200, "text": "OK", "response_time": pytest.approx(0.1, abs=0.1)},
Expand Down

0 comments on commit f1ddc37

Please sign in to comment.