litellm/tests/test_litellm/rust_bridge
Yujong Lee a28767d757 test(rust_bridge): bind every string-integration leaf to its real signature
dispatch_named_success, dispatch_named_failure and dispatch_named_request
now call the legacy integration singletons directly after isinstance
narrowing instead of through getattr-by-name casts, so basedpyright checks
arity and keyword names. None of those integrations run in the OCR suite,
so each branch is exercised against a stub of the real class and the
recorded call is bound with inspect.signature to the real method. Also
covers the logfire enum levels, the lunary end/error events, the supabase
pre-call-only guard, sentry hooks, openmeter and dynamodb awaitables, and
the langfuse trace-id cache path.
2026-09-16 17:50:11 +00:00
..
native_route_wheel_test.py simplify 2026-09-16 17:50:11 +00:00
stubtest.ini build(rust-bridge): add typed _native stub and validate it with mypy.stubtest 2026-09-15 03:54:16 +00:00
test_bindings.py style(rust_bridge): satisfy strict lint gates in the callback leaves 2026-09-16 17:50:11 +00:00
test_chat_completions.py refactor(rust): remove per-request enablement arguments (#39928) 2026-09-07 10:43:45 -07:00
test_configuration.py refactor(ocr): complete native lifecycle and preserve Azure auth (#40734) 2026-09-12 11:56:49 -07:00
test_leaves.py test(rust_bridge): bind every string-integration leaf to its real signature 2026-09-16 17:50:11 +00:00
test_lifecycle.py fix(router): count num_retries_per_request across fallback hops 2026-09-14 23:13:50 -07:00
test_ocr_lifecycle.py feat(python-bridge): dispatch OCR callbacks through the native cursor 2026-09-16 17:50:11 +00:00
test_runtime.py Merge pull request #39334 from BerriAI/litellm_rust_opt_in_configuration 2026-09-02 16:26:36 -07:00
test_setup.py refactor(python-bridge): classify callbacks natively instead of function_setup 2026-09-16 17:50:11 +00:00
test_token_counter.py feat(rust): count tiktoken cl100k_base admission tokens in Rust (#40777) 2026-09-11 23:47:05 +00:00
test_verify_linux_native_wheel.py test(build): keep wheel checks outside package 2026-09-02 12:16:25 -07:00