From 0a0b5eee477891d322b9dc2eb1f485a112db3076 Mon Sep 17 00:00:00 2001 From: Cesar Garcia <128240629+Chesars@users.noreply.github.com> Date: Fri, 14 Nov 2025 21:50:40 -0300 Subject: [PATCH] fix: Resolve pytest module name collision for test_transformation.py files (#16661) Fixes #16613 The issue was caused by two test files having the same module name (test_transformation.py) in different directories, which caused pytest to fail with an import file mismatch error. Changes: - Renamed tests/test_litellm/llms/xai/responses/test_transformation.py to test_xai_responses_transformation.py - Renamed tests/test_litellm/llms/openai_like/chat/test_transformation.py to test_openai_like_chat_transformation.py Both files now have unique, descriptive names that reflect their specific test purposes and prevent module name collisions. --- ..._transformation.py => test_openai_like_chat_transformation.py} | 0 ...est_transformation.py => test_xai_responses_transformation.py} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename tests/test_litellm/llms/openai_like/chat/{test_transformation.py => test_openai_like_chat_transformation.py} (100%) rename tests/test_litellm/llms/xai/responses/{test_transformation.py => test_xai_responses_transformation.py} (100%) diff --git a/tests/test_litellm/llms/openai_like/chat/test_transformation.py b/tests/test_litellm/llms/openai_like/chat/test_openai_like_chat_transformation.py similarity index 100% rename from tests/test_litellm/llms/openai_like/chat/test_transformation.py rename to tests/test_litellm/llms/openai_like/chat/test_openai_like_chat_transformation.py diff --git a/tests/test_litellm/llms/xai/responses/test_transformation.py b/tests/test_litellm/llms/xai/responses/test_xai_responses_transformation.py similarity index 100% rename from tests/test_litellm/llms/xai/responses/test_transformation.py rename to tests/test_litellm/llms/xai/responses/test_xai_responses_transformation.py