From 488e590edfd024630a41b339f6ac0763fe223829 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Wed, 6 May 2026 19:30:10 -0700 Subject: [PATCH] =?UTF-8?q?refactor(tests):=20mirror=20vm=5Fproviders=20mo?= =?UTF-8?q?ve=20=E2=80=94=20test=5Fec2=5Fprovider=5Freal.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tests follow 1:1 mapping convention from tests/test_litellm/readme.md: litellm/foo/bar.py → tests/test_litellm/foo/test_bar.py. Tracks LIT-2879. --- .../vms}/test_ec2_provider_real.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tests/test_litellm/{proxy/agent_session_endpoints/vm_providers => managed_agents/vms}/test_ec2_provider_real.py (98%) diff --git a/tests/test_litellm/proxy/agent_session_endpoints/vm_providers/test_ec2_provider_real.py b/tests/test_litellm/managed_agents/vms/test_ec2_provider_real.py similarity index 98% rename from tests/test_litellm/proxy/agent_session_endpoints/vm_providers/test_ec2_provider_real.py rename to tests/test_litellm/managed_agents/vms/test_ec2_provider_real.py index e99b01f1515..658383a4a70 100644 --- a/tests/test_litellm/proxy/agent_session_endpoints/vm_providers/test_ec2_provider_real.py +++ b/tests/test_litellm/managed_agents/vms/test_ec2_provider_real.py @@ -30,7 +30,7 @@ from typing import List, Optional import pytest -from litellm.proxy.agent_session_endpoints.vm_providers import ( +from litellm.managed_agents.vms import ( AwsCreds, EC2Provider, Ec2Config, @@ -153,7 +153,7 @@ async def test_real_boot(): @pytest.mark.asyncio async def test_byoc_invalid_creds_fail_fast(): """Validation #11: bad creds → InvalidCredentialsError within ~5s, no instance launched.""" - from litellm.proxy.agent_session_endpoints.vm_providers import ( + from litellm.managed_agents.vms import ( InvalidCredentialsError, )