litellm/tests/test_litellm/containers
Yuneng Jiang 5928556c16
test: assert endpoint config freshness by identity instead of mutating it
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.
2026-08-28 10:11:55 -07:00
..
__init__.py Add E2E Container API Support (#16136) 2025-11-01 14:03:51 -07:00
test_azure_container_transformation.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_container_api.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_container_handler_url.py fix: encode upstream URL path identifiers 2026-04-29 22:02:39 -07:00
test_container_integration.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_container_proxy_ownership.py fix(containers): record ownership for service-account keys + fix Prisma Json serialization (#28990) 2026-05-27 21:00:07 -07:00
test_container_regional_api_base.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_container_transformation.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_container_utils.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_endpoint_factory.py test: assert endpoint config freshness by identity instead of mutating it 2026-08-28 10:11:55 -07:00