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]

fix: test_edit_mcp_server_redacts_credentials error

Yuta Saito0e01d225ff5c
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 b9c63256050..5e32fb8c827 100644
--- a/tests/store_model_in_db_tests/test_mcp_servers.py
+++ b/tests/store_model_in_db_tests/test_mcp_servers.py
@@ -379,7 +379,7 @@ async def test_edit_mcp_server_redacts_credentials():
mock_prisma = mock.Mock()
mock_get_prisma.return_value = mock_prisma
- mock_manager.add_update_server = mock.AsyncMock()
+ mock_manager.update_server = mock.AsyncMock()
mock_manager.reload_servers_from_database = mock.AsyncMock()
server_id = str(uuid.uuid4())