mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-07 17:11:09 +00:00
ce052d07be
- Use timedelta(hours=1) instead of replace(hour=hour+1) in _window() to avoid ValueError when hour=23 - Add test_should_batch_by_row_count covering the >10K rows batching path (previously only the 2 MB size-limit path was tested) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Testing for litellm/
This directory 1:1 maps the the litellm/ directory, and can only contain mocked tests.
The point of this is to:
- Increase test coverage of
litellm/ - Make it easy for contributors to add tests for the
litellm/package and easily run tests without needing LLM API keys.
File name conventions
litellm/proxy/test_caching_routes.pymaps tolitellm/proxy/caching_routes.pytest_<filename>.pymaps tolitellm/<filename>.py