Skip to content

Commit 9924abe

Browse files
keep snapshot
1 parent 00ce787 commit 9924abe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/client/test_auth.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
import httpx
1212
import pytest
13+
from inline_snapshot import snapshot
1314
from pydantic import AnyHttpUrl
1415

1516
from mcp.client.auth import OAuthClientProvider
@@ -967,7 +968,8 @@ def test_build_metadata(
967968
revocation_options=RevocationOptions(enabled=True),
968969
)
969970

970-
assert metadata == OAuthMetadata(
971+
assert metadata == snapshot(
972+
OAuthMetadata(
971973
issuer=AnyHttpUrl(issuer_url),
972974
authorization_endpoint=AnyHttpUrl(authorization_endpoint),
973975
token_endpoint=AnyHttpUrl(token_endpoint),
@@ -980,3 +982,4 @@ def test_build_metadata(
980982
revocation_endpoint_auth_methods_supported=["client_secret_post"],
981983
code_challenge_methods_supported=["S256"],
982984
)
985+
)

0 commit comments

Comments
 (0)