mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
The previous check proved _load_endpoints_config returns a fresh object by clearing the first result and reloading. That mutates shared state and only works while the loader happens not to cache, so a future cache would corrupt every later test rather than fail this one. Compare the two loads by identity and equality instead. Verified red-before-green: adding a module-level cache to the loader fails this test, removing it passes. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_azure_container_transformation.py | ||
| test_container_api.py | ||
| test_container_handler_url.py | ||
| test_container_integration.py | ||
| test_container_proxy_ownership.py | ||
| test_container_regional_api_base.py | ||
| test_container_transformation.py | ||
| test_container_utils.py | ||
| test_endpoint_factory.py | ||