litellm/tests/test_litellm_rust/support
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
..
__init__.py test(ocr): isolate native Rust bridge contracts (#40410) 2026-09-10 16:51:37 -07:00
callback_recorder.py refactor(ocr): complete native lifecycle and preserve Azure auth (#40734) 2026-09-12 11:56:49 -07:00
child_interpreter.py test(rust): pin child interpreters to the parent's litellm and lint for it 2026-09-19 18:17:54 +00:00
isolation.py test(rust): isolate callback registries per hypothesis example 2026-09-18 15:57:50 -07:00
recording_server.py add streaming message 2026-09-18 15:45:08 -07:00
requests.py add streaming message 2026-09-18 15:45:08 -07:00