Spaces:
Running
Running
zzstoatzz commited on
Commit ·
de8e775
1
Parent(s): 3595b6b
try to fix test
Browse files
tests/server/test_proxy.py
CHANGED
|
@@ -74,7 +74,7 @@ async def test_create_proxy(fastmcp_server):
|
|
| 74 |
# Create a client
|
| 75 |
client = Client(transport=FastMCPTransport(fastmcp_server))
|
| 76 |
|
| 77 |
-
server = FastMCPProxy.
|
| 78 |
|
| 79 |
assert isinstance(server, FastMCPProxy)
|
| 80 |
assert isinstance(server, FastMCP)
|
|
|
|
| 74 |
# Create a client
|
| 75 |
client = Client(transport=FastMCPTransport(fastmcp_server))
|
| 76 |
|
| 77 |
+
server = FastMCPProxy.as_proxy(client)
|
| 78 |
|
| 79 |
assert isinstance(server, FastMCPProxy)
|
| 80 |
assert isinstance(server, FastMCP)
|