From 0f1df4f3393fd0ffafba08c52bee0b8eae2ae0c8 Mon Sep 17 00:00:00 2001 From: Asuka Minato Date: Thu, 18 Dec 2025 15:21:28 +0900 Subject: [PATCH] assert correct msg --- .../services/tools/test_api_tools_manage_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tests/test_containers_integration_tests/services/tools/test_api_tools_manage_service.py b/api/tests/test_containers_integration_tests/services/tools/test_api_tools_manage_service.py index 26f62d62f0..2ff71ea6ea 100644 --- a/api/tests/test_containers_integration_tests/services/tools/test_api_tools_manage_service.py +++ b/api/tests/test_containers_integration_tests/services/tools/test_api_tools_manage_service.py @@ -433,7 +433,7 @@ class TestApiToolManageService: with pytest.raises(ValidationError) as exc_info: TypeAdapter(ApiProviderSchemaType).validate_python(schema_type) - assert "invalid schema type" in str(exc_info.value) + assert "validation error" in str(exc_info.value) def test_create_api_tool_provider_missing_auth_type( self, flask_req_ctx_with_containers, db_session_with_containers, mock_external_service_dependencies