From f59de5cff1e13b89ad46a01f4a2c6fb7ddd03bf5 Mon Sep 17 00:00:00 2001 From: STiFLeR7 Date: Tue, 8 Sep 2026 09:04:55 +0530 Subject: [PATCH] fix(a2a): add missing test package __init__.py to avoid pytest module collision tests/test_litellm/llms/a2a/chat/guardrail_translation/ and tests/test_litellm/llms/openai/chat/guardrail_translation/ share the same relative package path (chat/guardrail_translation), and neither a2a/ nor openai/ had its own __init__.py. Pytest's default import mode resolved both to the same ambiguous top-level chat package, so collecting both together failed with ModuleNotFoundError: No module named 'chat.guardrail_translation.test_openai_guardrail_handler'. Adding tests/test_litellm/llms/a2a/__init__.py gives the a2a test package a fully qualified module path, removing the collision. Reproduced with a two-directory pytest run before the fix and confirmed both suites collect and pass together after it. --- tests/test_litellm/llms/a2a/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/test_litellm/llms/a2a/__init__.py diff --git a/tests/test_litellm/llms/a2a/__init__.py b/tests/test_litellm/llms/a2a/__init__.py new file mode 100644 index 00000000000..e69de29bb2d