From 60902b5de9137611f74334623112658beb2ab231 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Sun, 1 Jun 2025 21:37:27 -0400 Subject: [PATCH] Fix patch address --- tests/auth/test_oauth_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auth/test_oauth_client.py b/tests/auth/test_oauth_client.py index 70581752e..be3328a07 100644 --- a/tests/auth/test_oauth_client.py +++ b/tests/auth/test_oauth_client.py @@ -193,7 +193,7 @@ def client_with_headless_oauth( raise ValueError("mcp_url is required") return HeadlessOAuthProvider(mcp_url) - with patch("fastmcp.client.auth.OAuth", side_effect=headless_oauth): + with patch("fastmcp.client.auth.oauth.OAuth", side_effect=headless_oauth): client = Client( transport=StreamableHttpTransport(streamable_http_server), auth=fastmcp.client.auth.oauth.OAuth(mcp_url=streamable_http_server),