Skip to content

Commit

Permalink
ClientAuthnMethods must have a 'tag' attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohe committed Apr 8, 2022
1 parent 474bd18 commit 33dbbbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_server_17_client_authn.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,7 @@ class Mock:
verify = MagicMock(return_value={"method": "custom", "client_id": client_id})

mock = Mock()
mock.tag = "mock"
conf = dict(CONF)
conf["client_authn_methods"] = {"custom": MagicMock(return_value=mock)}
conf["endpoint"]["registration"]["kwargs"]["client_authn_method"] = ["custom"]
Expand Down
1 change: 1 addition & 0 deletions tests/test_server_20d_client_authn.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,7 @@ class Mock:
verify = MagicMock(return_value={"method": "custom", "client_id": client_id})

mock = Mock()
mock.tag = "mock"
conf = dict(CONF)
conf["client_authn_methods"] = {"custom": MagicMock(return_value=mock)}
conf["endpoint"]["registration"]["kwargs"]["client_authn_method"] = ["custom"]
Expand Down

0 comments on commit 33dbbbf

Please sign in to comment.