refactor(tests): mirror vm_providers move — test_ec2_provider_real.py

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.
This commit is contained in:
Ishaan Jaffer 2026-05-06 19:30:10 -07:00
parent 8bf14f6c04
commit 488e590edf
No known key found for this signature in database

View file

@ -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,
)