litellm/tests/test_litellm_rust
Yujong Lee 18a1491bd2 test(rust): pin child interpreters to the parent's litellm and lint for it
Children spawned as [sys.executable, -c, ...] put the working directory first on sys.path, so under 'make test-rust-extension' a source checkout shadows the installed wheel and the child imports a litellm with no compiled extension. A shared helper spawns them with -I and asserts the child resolved the same litellm.__file__ as the parent, and a new TQ009 rule flags un-isolated sys.executable spawns.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-19 18:17:54 +00:00
..
messages add streaming message 2026-09-18 15:45:08 -07:00
ocr fix(rust): keep native OCR on the proxy by declining only a supplied client 2026-09-18 18:47:36 -07:00
support test(rust): pin child interpreters to the parent's litellm and lint for it 2026-09-19 18:17:54 +00:00
conftest.py test(rust): isolate callback registries per hypothesis example 2026-09-18 15:57:50 -07:00
test_fork_guard.py test(rust): pin child interpreters to the parent's litellm and lint for it 2026-09-19 18:17:54 +00:00
test_ocr.py refactor(rust): run OCR through a route-neutral callback contract and a legacy Logging adapter 2026-09-17 21:13:16 -07:00