mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 14s
* fixes for redis cache ping serialization * fix cache ping check * fix cache health check ui * working error details on ui * ui expand / collapse error * move cache health check to diff file * fix displaying error from cache health check * ui allow copying errors * ui cache health fixes * show redis details * clean up cache health page * ui polish fixes * fix error handling on cache health page * fix redis_cache_params on cache ping response * error handling * cache health ping response * fx error response from cache ping * parsedLitellmParams * fix cache health check * fix cache health page * cache safely handle json dumps issues * test caching routes * test_primitive_types * fix caching routes * litellm_mapped_tests * fix pytest-mock * fix _serialize * fix linting on safe dumps * test_default_max_depth * pip install "pytest-mock==3.12.0" * litellm_mapped_tests_coverage * add readme on new litellm test dir
24 lines
485 B
Markdown
24 lines
485 B
Markdown
# Testing for `litellm/`
|
|
|
|
This directory 1:1 maps the the `litellm/` directory, and can only contain mocked tests.
|
|
|
|
The point of this is to:
|
|
1. Increase test coverage of `litellm/`
|
|
2. 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.py` maps to `litellm/proxy/caching_routes.py`
|
|
- `test_<filename>.py` maps to `litellm/<filename>.py`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|