Skip to content

Commit

Permalink
fixup! Issue #7 EP-4046 WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Oct 8, 2021
1 parent 68f7fbc commit cbc64f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def config(backend1, backend2) -> AggregatorConfig:
# conf.flask_error_handling = False # Temporary disable flask error handlers to simplify debugging (better stack traces).

conf.oidc_providers = [
OidcProvider(id="egi", issuer="https://egi.test", title="EGI"),
OidcProvider(id="x-agg", issuer="https://x.test", title="X (agg)"),
OidcProvider(id="y-agg", issuer="https://y.test", title="Y (agg)"),
OidcProvider(id="z-agg", issuer="https://z.test", title="Z (agg)"),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_credentials_oidc_intersection(self, requests_mock, config, backend1, ba

res = api100.get("/credentials/oidc").assert_status_code(200).json
assert res == {"providers": [
{"id": "y", "issuer": "https://y.test", "title": "YY", "scopes": ["openid"]}
{"id": "y-agg", "issuer": "https://y.test", "title": "Y (agg)", "scopes": ["openid"]}
]}

def test_me_unauthorized(self, api100):
Expand Down

0 comments on commit cbc64f1

Please sign in to comment.