test(cruise): clear CRUISE_API_BASE in the default base URL test

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
BytesBrains 2026-09-23 02:17:24 +05:30
parent 562902c75a
commit 8c0cebfd92

View file

@ -26,7 +26,8 @@ class TestCruiseProviderConfig:
assert "cruise" not in openai_compatible_providers
assert "cruise" not in OPENAI_AUDIO_TRANSCRIPTION_PROVIDERS
def test_cruise_provider_resolution_keeps_upstream_prefix(self):
def test_cruise_provider_resolution_keeps_upstream_prefix(self, monkeypatch):
monkeypatch.delenv("CRUISE_API_BASE", raising=False)
from litellm.litellm_core_utils.get_llm_provider_logic import get_llm_provider
model, provider, api_key, api_base = get_llm_provider(