mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-12 23:05:52 +00:00
df299d3193
* 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>