Skip to content

Commit 29f9be3

Browse files
authored
fix: remove non validated models from tests (#783)
1 parent 5d06ccf commit 29f9be3

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

tests/model_registry/model_catalog/test_model_search.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -126,23 +126,12 @@ def test_search_model_catalog_match(
126126
# 1. The filter parameter is setup to use artifact_type instead of artifactType
127127
# 2. The filter with multiple artifact types is not working as expected
128128
@pytest.mark.xfail(
129-
strict=True,
130-
reason="RHOAIENG-36938: artifact_type is usedinstead of artifactType, multiple artifact types are not working",
129+
reason="RHOAIENG-36938: artifact_type is used instead of artifactType, multiple artifact types are not working",
131130
)
132131
class TestSearchModelArtifact:
133132
@pytest.mark.parametrize(
134133
"randomly_picked_model_from_catalog_api_by_source, artifact_type",
135134
[
136-
pytest.param(
137-
{"catalog_id": REDHAT_AI_CATALOG_ID, "header_type": "registry"},
138-
MODEL_ARTIFACT_TYPE,
139-
id="redhat_ai_model_artifact",
140-
),
141-
pytest.param(
142-
{"catalog_id": REDHAT_AI_CATALOG_ID, "header_type": "registry"},
143-
METRICS_ARTIFACT_TYPE,
144-
id="redhat_ai_metrics_artifact",
145-
),
146135
pytest.param(
147136
{"catalog_id": VALIDATED_CATALOG_ID, "header_type": "registry"},
148137
MODEL_ARTIFACT_TYPE,
@@ -251,10 +240,6 @@ def test_error_handled_for_invalid_artifact_type(
251240
@pytest.mark.parametrize(
252241
"randomly_picked_model_from_catalog_api_by_source",
253242
[
254-
pytest.param(
255-
{"catalog_id": REDHAT_AI_CATALOG_ID, "header_type": "registry"},
256-
id="redhat_ai_catalog",
257-
),
258243
pytest.param(
259244
{"catalog_id": VALIDATED_CATALOG_ID, "header_type": "registry"},
260245
id="validated_catalog",

0 commit comments

Comments
 (0)