π The fast, Pythonic way to build MCP servers and clients.
Update test_memory_client.py
Jeremiah Lowinb6df2d204865
diff --git a/tests/client/test_memory_client.py b/tests/client/test_memory_client.pyindex c8f38269c..f103588e4 100644--- a/tests/client/test_memory_client.py+++ b/tests/client/test_memory_client.py@@ -48,7 +48,6 @@ def fastmcp_server():return serverasync def test_list_tools(fastmcp_server):"""Test listing tools with InMemoryClient."""client = InMemoryClient(server=fastmcp_server)@@ -63,7 +62,6 @@ async def test_list_tools(fastmcp_server):assert "error_tool" in tool_namesasync def test_call_tool(fastmcp_server):"""Test calling a tool with InMemoryClient."""client = InMemoryClient(server=fastmcp_server)@@ -76,7 +74,6 @@ async def test_call_tool(fastmcp_server):assert "Hello, World!" in content_strasync def test_list_resources(fastmcp_server):"""Test listing resources with InMemoryClient."""client = InMemoryClient(server=fastmcp_server)@@ -89,7 +86,6 @@ async def test_list_resources(fastmcp_server):assert str(result.resources[0].uri) == "data://users"async def test_list_prompts(fastmcp_server):"""Test listing prompts with InMemoryClient."""client = InMemoryClient(server=fastmcp_server)@@ -102,7 +98,6 @@ async def test_list_prompts(fastmcp_server):assert result.prompts[0].name == "welcome"async def test_get_prompt(fastmcp_server):"""Test getting a prompt with InMemoryClient."""client = InMemoryClient(server=fastmcp_server)@@ -115,7 +110,6 @@ async def test_get_prompt(fastmcp_server):assert "Welcome to FastMCP, Developer!" in result_strasync def test_read_resource(fastmcp_server):"""Test reading a resource with InMemoryClient."""client = InMemoryClient(server=fastmcp_server)@@ -134,7 +128,6 @@ async def test_read_resource(fastmcp_server):assert "Charlie" in contents_strasync def test_client_connection(fastmcp_server):"""Test that the client connects and disconnects properly."""client = InMemoryClient(server=fastmcp_server)@@ -150,7 +143,6 @@ async def test_client_connection(fastmcp_server):assert not client.is_connected()async def test_resource_template(fastmcp_server):"""Test using a resource template with InMemoryClient."""client = InMemoryClient(server=fastmcp_server)