mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
test(bedrock): stop reloading the cost map module in the GovCloud fixture
This commit is contained in:
parent
cedd9a05ea
commit
6ee79d30bd
1 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
import asyncio, importlib, litellm, litellm.litellm_core_utils.get_model_cost_map as bedrock_govcloud_model_cost_map, pytest
|
||||
import asyncio, importlib, litellm, pytest
|
||||
from typing import Final
|
||||
|
||||
|
||||
|
|
@ -1563,7 +1563,6 @@ def _pr4_bedrock_env(monkeypatch: pytest.MonkeyPatch) -> None:
|
|||
def _use_local_model_cost_map() -> Iterator[None]:
|
||||
with pytest.MonkeyPatch.context() as monkeypatch:
|
||||
monkeypatch.setenv("LITELLM_LOCAL_MODEL_COST_MAP", "True")
|
||||
importlib.reload(bedrock_govcloud_model_cost_map)
|
||||
importlib.reload(litellm)
|
||||
yield
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue