fix: mark test as pytest.mark.anyio
This commit is contained in:
parent
ff22f48365
commit
10a85e452d
1 changed files with 2 additions and 0 deletions
|
|
@ -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")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue