mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
* fix(tests): Mock async_container_create_handler for async router test The test was mocking container_create_handler (sync), but router.acreate_container uses _is_async=True which calls async_container_create_handler. This caused the test to hit the real OpenAI API. Fixed by using AsyncMock on async_container_create_handler. * fix(tests): Use uuid for unique model name in scientific notation test The test was using a static "unique" model name which could cause conflicts when running tests in parallel (-n 16 in CI). Using uuid ensures truly unique names to prevent test pollution. --------- Co-authored-by: Shin <shin@openclaw.ai> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_container_api.py | ||
| test_container_integration.py | ||
| test_container_regional_api_base.py | ||
| test_container_transformation.py | ||
| test_container_utils.py | ||