mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Seven tests captured litellm.use_legacy_interactions_schema, wrapped their body in a try, and put it back in a finally. monkeypatch.setattr does that, so the capture, the try and the finally go and the bodies lose an indentation level. The remaining hand-rolled restores stay. They hold the flag only across the iterator's constructor and put it back before the test iterates, so handing them to monkeypatch would widen that window to the whole test and change what the streaming assertions run against. |
||
|---|---|---|
| .. | ||
| base_interactions_test.py | ||
| test_agents_http_handler.py | ||
| test_agents_main_and_utils.py | ||
| test_gemini_interactions.py | ||
| test_gemini_interactions_transformation.py | ||
| test_google_interactions_integration.py | ||
| test_interactions_streaming_iterator.py | ||
| test_litellm_responses_bridge.py | ||
| test_openapi_compliance.py | ||