Skip to content

Commit afa2923

Browse files
authored
test: Mark test for d/s only and update property name (#879)
1 parent b1d62d7 commit afa2923

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/model_registry/model_catalog/test_filter_options_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_filter_options_endpoint_validation(
7070
LOGGER.info("Filter options endpoint successfully returned 200 OK")
7171

7272
# Expected core properties based on current API response
73-
expected_properties = {"license", "provider", "tasks", "validated_on"}
73+
expected_properties = {"license", "provider", "tasks", "validated_on.array_value"}
7474

7575
# Comprehensive validation using single function (validates acceptance criteria #2, #3, #4)
7676
is_valid, errors = validate_filter_options_structure(response=response, expected_properties=expected_properties)

tests/model_registry/model_catalog/test_sorting_functionality.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ def test_sources_rejects_unsupported_fields(
119119
)
120120

121121

122+
# More than 1 artifact are available only in downstream
123+
@pytest.mark.downstream_only
122124
class TestArtifactsSorting:
123125
"""Test sorting functionality for GetAllModelArtifacts endpoint
124126
Fixed on a random model from the validated catalog since we need more than 1 artifact to test sorting.

0 commit comments

Comments
 (0)