Skip to content

Commit 33dbbbf

Browse files
committed
ClientAuthnMethods must have a 'tag' attribute.
1 parent 474bd18 commit 33dbbbf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/test_server_17_client_authn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@ class Mock:
710710
verify = MagicMock(return_value={"method": "custom", "client_id": client_id})
711711

712712
mock = Mock()
713+
mock.tag = "mock"
713714
conf = dict(CONF)
714715
conf["client_authn_methods"] = {"custom": MagicMock(return_value=mock)}
715716
conf["endpoint"]["registration"]["kwargs"]["client_authn_method"] = ["custom"]

tests/test_server_20d_client_authn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ class Mock:
665665
verify = MagicMock(return_value={"method": "custom", "client_id": client_id})
666666

667667
mock = Mock()
668+
mock.tag = "mock"
668669
conf = dict(CONF)
669670
conf["client_authn_methods"] = {"custom": MagicMock(return_value=mock)}
670671
conf["endpoint"]["registration"]["kwargs"]["client_authn_method"] = ["custom"]

0 commit comments

Comments
 (0)