test(a2a): add tests/test_litellm/llms/__init__.py to fix a2a package collision

Without it, pytest's rootdir-insertion walks up past tests/test_litellm/llms/a2a/
(which has __init__.py) to the first ancestor lacking one, landing on llms/
itself, so the a2a test package gets imported under the bare top-level name
a2a instead of tests.test_litellm.llms.a2a. That collides with the real
installed a2a-sdk package of the same name: whichever one gets imported
first wins sys.modules['a2a'], and the other's collection fails.

Reproduced by collecting tests/test_litellm/llms/langflow/test_langflow_a2a.py
(which imports the real a2a-sdk) alongside tests/test_litellm/llms/a2a/.
This commit is contained in:
STiFLeR7 2026-09-11 10:21:50 +05:30
parent ced880fa62
commit 1f04c11640
No known key found for this signature in database

View file