Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test_create_mcp_server_direct

Ishaan Jaffer19a6693dfca9
diff --git a/tests/store_model_in_db_tests/test_mcp_servers.py b/tests/store_model_in_db_tests/test_mcp_servers.py
index ca9b92afb9b..8e0f11aee1e 100644
--- a/tests/store_model_in_db_tests/test_mcp_servers.py
+++ b/tests/store_model_in_db_tests/test_mcp_servers.py
@@ -139,7 +139,7 @@ async def test_create_mcp_server_direct():
mock_get_prisma.return_value = mock_prisma
# Mock server manager
- mock_manager.add_update_server = mock.Mock()
+ mock_manager.add_update_server = mock.AsyncMock()
mock_manager.reload_servers_from_database = mock.AsyncMock()
# Set up test data