This commit is contained in:
yihuang 2025-04-21 13:18:11 +08:00
commit e962f4d312
No known key found for this signature in database
GPG key ID: 5D8B72A08439BE01

View file

@ -194,6 +194,9 @@ async def test_client_nested_context_manager(fastmcp_server):
async with client:
assert client.is_connected()
async with client:
assert client.is_connected()
# After connection
assert not client.is_connected()