From ba737e1c5fcd328a56ae6daaaf4b9dbbb09c9580 Mon Sep 17 00:00:00 2001 From: vovanphuc Date: Thu, 20 Aug 2026 09:41:18 +0700 Subject: [PATCH] test(google_genai): drop the docstrings from the new adapter tests The names and assertions already say what each case covers, so the prose only duplicated them. --- .../test_litellm/google_genai/test_google_genai_adapter.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_litellm/google_genai/test_google_genai_adapter.py b/tests/test_litellm/google_genai/test_google_genai_adapter.py index 25981dc90c5..447f860d0bc 100644 --- a/tests/test_litellm/google_genai/test_google_genai_adapter.py +++ b/tests/test_litellm/google_genai/test_google_genai_adapter.py @@ -1279,12 +1279,6 @@ def test_inline_data_backward_compatibility_text_only(): def test_tools_transformation_parameters_field(): - """FunctionDeclaration.parameters must survive the generate_content -> completion bridge. - - The google-genai SDKs serialize tool schemas to `parameters`; only gemini-cli - sends `parametersJsonSchema`. Reading just the latter silently dropped the - schema, so the upstream model received a function with no arguments. - """ from litellm.google_genai.adapters.transformation import GoogleGenAIAdapter adapter = GoogleGenAIAdapter() @@ -1322,7 +1316,6 @@ def test_tools_transformation_parameters_field(): def test_tools_transformation_prefers_parameters_json_schema(): - """When both fields are present, parametersJsonSchema wins.""" from litellm.google_genai.adapters.transformation import GoogleGenAIAdapter adapter = GoogleGenAIAdapter()