[v2] Dispatcher/ServerRunner receive-path swap — replaces BaseSession (#2710)
This commit is contained in:
parent
b478bff56d
commit
5d826490b6
1 changed files with 6594 additions and 1701 deletions
|
|
@ -10,9 +10,6 @@ from mcp.server.mcpserver import MCPServer
|
|||
pytestmark = pytest.mark.anyio
|
||||
|
||||
|
||||
# Logfire warns about propagated trace context by default (distributed_tracing=None).
|
||||
# This is expected here since we're testing cross-boundary context propagation.
|
||||
@pytest.mark.filterwarnings("ignore::RuntimeWarning")
|
||||
async def test_client_and_server_spans(capfire: CaptureLogfire):
|
||||
"""Verify that calling a tool produces client and server spans with correct attributes."""
|
||||
server = MCPServer("test")
|
||||
|
|
|
|||
Loading…
Reference in a new issue