refactor: move inline imports to module level (#1893)
This commit is contained in:
parent
c06362126b
commit
5d80f4efc8
1 changed files with 58 additions and 122 deletions
|
|
@ -3,6 +3,7 @@ from typing import Any, Literal
|
|||
import pytest
|
||||
|
||||
import mcp.types as types
|
||||
from mcp.server.fastmcp import FastMCP
|
||||
from mcp.shared.memory import (
|
||||
create_connected_server_and_client_session as create_session,
|
||||
)
|
||||
|
|
@ -23,8 +24,6 @@ class LoggingCollector:
|
|||
|
||||
@pytest.mark.anyio
|
||||
async def test_logging_callback():
|
||||
from mcp.server.fastmcp import FastMCP
|
||||
|
||||
server = FastMCP("test")
|
||||
logging_collector = LoggingCollector()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue