Skip to content

Commit 01b0517

Browse files
committed
Comment out conftest _get_model_arns() override
1 parent f641cb4 commit 01b0517

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

llm-service/app/tests/conftest.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
# BUSINESS ADVANTAGE OR UNAVAILABILITY, OR LOSS OR CORRUPTION OF
3636
# DATA.
3737
# ##############################################################################
38-
3938
import os
4039
import pathlib
4140
import uuid
@@ -52,10 +51,9 @@
5251

5352
from app.ai.vector_stores.qdrant import QdrantVectorStore
5453
from app.main import app
55-
from app.services.metadata_apis import data_sources_metadata_api
5654
from app.services import models
55+
from app.services.metadata_apis import data_sources_metadata_api
5756
from app.services.metadata_apis.data_sources_metadata_api import RagDataSource
58-
from app.services.models.providers import BedrockModelProvider
5957

6058

6159
@dataclass
@@ -219,10 +217,10 @@ def client() -> Iterator[TestClient]:
219217
yield test_client
220218

221219

222-
@pytest.fixture(autouse=True)
223-
def _get_model_arn_by_suffix(monkeypatch: pytest.MonkeyPatch) -> None:
224-
monkeypatch.setattr(
225-
BedrockModelProvider,
226-
"_get_model_arns",
227-
lambda: [],
228-
)
220+
# @pytest.fixture(autouse=True)
221+
# def _get_model_arn_by_suffix(monkeypatch: pytest.MonkeyPatch) -> None:
222+
# monkeypatch.setattr(
223+
# BedrockModelProvider,
224+
# "_get_model_arns",
225+
# lambda: [],
226+
# )

0 commit comments

Comments
 (0)