mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 14:54:24 +01:00
fix: mark test as pytest.mark.anyio
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import anyio
|
import anyio
|
||||||
|
import pytest
|
||||||
from pydantic import AnyUrl
|
from pydantic import AnyUrl
|
||||||
|
|
||||||
from mcp.server.fastmcp import FastMCP
|
from mcp.server.fastmcp import FastMCP
|
||||||
@@ -10,6 +11,7 @@ _sleep_time_seconds = 0.01
|
|||||||
_resource_name = "slow://slow_resource"
|
_resource_name = "slow://slow_resource"
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.anyio
|
||||||
async def test_messages_are_executed_concurrently():
|
async def test_messages_are_executed_concurrently():
|
||||||
server = FastMCP("test")
|
server = FastMCP("test")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user