Skip to content

Commit 64b4446

Browse files
chore: fix coverage
1 parent b2641a5 commit 64b4446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mcp/server/auth/middleware/client_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ async def authenticate_request(self, request: Request) -> OAuthClientInformation
7878
)
7979
case "none":
8080
pass
81-
case _:
82-
raise AuthenticationError( # pragma: no cover
81+
case _: # pragma: no cover
82+
raise AuthenticationError(
8383
f"Unsupported auth method: {client.token_endpoint_auth_method}"
8484
)
8585

0 commit comments

Comments
 (0)