Skip to content

Commit 6c8011b

Browse files
committed
update server names in tests
1 parent 16ac8eb commit 6c8011b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/server/fastmcp/test_integration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ async def test_basic_tools(server_transport: str, server_url: str) -> None:
236236
# Test initialization
237237
result = await session.initialize()
238238
assert isinstance(result, InitializeResult)
239-
assert result.serverInfo.name == "Basic Tool Example"
239+
assert result.serverInfo.name == "Tool Example"
240240
assert result.capabilities.tools is not None
241241

242242
# Test add tool
@@ -273,7 +273,7 @@ async def test_basic_resources(server_transport: str, server_url: str) -> None:
273273
# Test initialization
274274
result = await session.initialize()
275275
assert isinstance(result, InitializeResult)
276-
assert result.serverInfo.name == "Basic Resource Example"
276+
assert result.serverInfo.name == "Resource Example"
277277
assert result.capabilities.resources is not None
278278

279279
# Test document resource
@@ -314,7 +314,7 @@ async def test_basic_prompts(server_transport: str, server_url: str) -> None:
314314
# Test initialization
315315
result = await session.initialize()
316316
assert isinstance(result, InitializeResult)
317-
assert result.serverInfo.name == "Basic Prompt Example"
317+
assert result.serverInfo.name == "Prompt Example"
318318
assert result.capabilities.prompts is not None
319319

320320
# Test summarize prompt
@@ -544,7 +544,7 @@ async def test_completion(server_transport: str, server_url: str) -> None:
544544
# Test initialization
545545
result = await session.initialize()
546546
assert isinstance(result, InitializeResult)
547-
assert result.serverInfo.name == "Completion Example"
547+
assert result.serverInfo.name == "Example"
548548
assert result.capabilities.resources is not None
549549
assert result.capabilities.prompts is not None
550550

0 commit comments

Comments
 (0)