Skip to content

Commit a844eec

Browse files
committed
Drop Is
1 parent a7106f4 commit a844eec

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/client/test_auth.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import httpx
1212
import pytest
13-
from inline_snapshot import Is, snapshot
13+
from inline_snapshot import snapshot
1414
from pydantic import AnyHttpUrl, AnyUrl
1515

1616
from mcp.client.auth import OAuthClientProvider
@@ -882,15 +882,15 @@ def test_build_metadata(
882882

883883
assert metadata.model_dump(exclude_defaults=True) == snapshot(
884884
{
885-
"issuer": Is(AnyHttpUrl(issuer_url)),
886-
"authorization_endpoint": Is(AnyHttpUrl(authorization_endpoint)),
887-
"token_endpoint": Is(AnyHttpUrl(token_endpoint)),
888-
"registration_endpoint": Is(AnyHttpUrl(registration_endpoint)),
885+
"issuer": AnyHttpUrl(issuer_url),
886+
"authorization_endpoint": AnyHttpUrl(authorization_endpoint),
887+
"token_endpoint": AnyHttpUrl(token_endpoint),
888+
"registration_endpoint": AnyHttpUrl(registration_endpoint),
889889
"scopes_supported": ["read", "write", "admin"],
890890
"grant_types_supported": ["authorization_code", "refresh_token"],
891891
"token_endpoint_auth_methods_supported": ["client_secret_post"],
892-
"service_documentation": Is(AnyHttpUrl(service_documentation_url)),
893-
"revocation_endpoint": Is(AnyHttpUrl(revocation_endpoint)),
892+
"service_documentation": AnyHttpUrl(service_documentation_url),
893+
"revocation_endpoint": AnyHttpUrl(revocation_endpoint),
894894
"revocation_endpoint_auth_methods_supported": ["client_secret_post"],
895895
"code_challenge_methods_supported": ["S256"],
896896
}

0 commit comments

Comments
 (0)