Skip to content

Commit 453de4c

Browse files
committed
Fix resource URL in the oauth_protected_resource_metadata fixture
Signed-off-by: Xin Fu <[email protected]>
1 parent aee7ee9 commit 453de4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/client/test_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def oauth_metadata():
7878
@pytest.fixture
7979
def oauth_protected_resource_metadata():
8080
return OAuthProtectedResourceMetadata(
81-
resource="https://api.example.com/v1/mcp",
81+
resource=AnyHttpUrl("https://api.example.com/v1/mcp"),
8282
authorization_servers=[AnyHttpUrl("https://auth.example.com")],
8383
scopes_supported=["read", "write"],
8484
bearer_methods_supported=["header"],

0 commit comments

Comments
 (0)