mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-10 15:03:36 +00:00
ef42461c1e
* test: add __init__.py files * refactor: rename test folder to avoid naming conflict * test: update workflows * test: update tests * test: update imports * test: update tests * test: remove unused import * ci(test-litellm.yml): add pytest retry to github workflow * test: fix test
25 lines
485 B
Markdown
25 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`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|