Jeremiah Lowin commited on
Commit
d6025de
·
1 Parent(s): 9103a0f

Fix patch address

Browse files
Files changed (1) hide show
  1. tests/auth/test_oauth_client.py +1 -1
tests/auth/test_oauth_client.py CHANGED
@@ -193,7 +193,7 @@ def client_with_headless_oauth(
193
  raise ValueError("mcp_url is required")
194
  return HeadlessOAuthProvider(mcp_url)
195
 
196
- with patch("fastmcp.client.auth.OAuth", side_effect=headless_oauth):
197
  client = Client(
198
  transport=StreamableHttpTransport(streamable_http_server),
199
  auth=fastmcp.client.auth.oauth.OAuth(mcp_url=streamable_http_server),
 
193
  raise ValueError("mcp_url is required")
194
  return HeadlessOAuthProvider(mcp_url)
195
 
196
+ with patch("fastmcp.client.auth.oauth.OAuth", side_effect=headless_oauth):
197
  client = Client(
198
  transport=StreamableHttpTransport(streamable_http_server),
199
  auth=fastmcp.client.auth.oauth.OAuth(mcp_url=streamable_http_server),