Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Update test_proxy.py

Jeremiah Lowin2f0b60a6d974
diff --git a/tests/server/test_proxy.py b/tests/server/test_proxy.py
index 2f78d964b..68524ad2f 100644
--- a/tests/server/test_proxy.py
+++ b/tests/server/test_proxy.py
@@ -197,7 +197,7 @@ class TestTools:
async with Client(proxy_server) as client:
tools = await client.list_tools()
- assert "greet" not in tools
+ assert not any(t.name == "greet" for t in tools)
class TestResources: