Skip to content

Commit 9691f59

Browse files
committed
fix: remove markers from model_catalog tests
1 parent 26289b6 commit 9691f59

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

tests/model_registry/model_catalog/test_custom_model_catalog.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"updated_catalog_config_map",
3636
)
3737
class TestModelCatalogRhec:
38-
@pytest.mark.sanity
3938
def test_model_custom_catalog_sources(
4039
self: Self,
4140
updated_catalog_config_map: tuple[ConfigMap, str, str],
@@ -53,7 +52,6 @@ def test_model_custom_catalog_sources(
5352
assert len(result) == 1
5453
assert result[0]["id"] == expected_catalog_values["id"]
5554

56-
@pytest.mark.sanity
5755
def test_model_custom_catalog_models(
5856
self: Self,
5957
updated_catalog_config_map: tuple[ConfigMap, str, str],
@@ -70,7 +68,6 @@ def test_model_custom_catalog_models(
7068
)["items"]
7169
assert result, f"Expected custom models to be present. Actual: {result}"
7270

73-
@pytest.mark.sanity
7471
def test_model_custom_catalog_get_model_by_name(
7572
self: Self,
7673
updated_catalog_config_map: tuple[ConfigMap, str, str],
@@ -88,7 +85,6 @@ def test_model_custom_catalog_get_model_by_name(
8885
)
8986
assert result["name"] == model_name
9087

91-
@pytest.mark.sanity
9288
def test_model_custom_catalog_get_artifact(
9389
self: Self,
9490
updated_catalog_config_map: tuple[ConfigMap, str, str],

tests/model_registry/model_catalog/test_default_model_catalog.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,21 @@
1818
"model_registry_metadata_db_resources",
1919
)
2020
class TestModelCatalog:
21-
@pytest.mark.sanity
2221
def test_config_map_not_created(self: Self, catalog_config_map: ConfigMap):
2322
# Check that the default configmaps does not exist, when model registry is not created
2423
assert not catalog_config_map.exists
2524

26-
@pytest.mark.smoke
2725
def test_config_map_exists(self: Self, model_registry_instance: ModelRegistry, catalog_config_map: ConfigMap):
2826
# Check that the default configmaps is created when model registry is enabled.
2927
assert catalog_config_map.exists, f"{catalog_config_map.name} does not exist"
3028
models = yaml.safe_load(catalog_config_map.instance.data["sources.yaml"])["catalogs"]
3129
assert not models, f"Expected no default models to be present. Actual: {models}"
3230

33-
@pytest.mark.sanity
3431
def test_operator_pod_enabled_model_catalog(
3532
self: Self, model_registry_instance: ModelRegistry, model_registry_operator_pod: Pod
3633
):
3734
assert validate_model_catalog_enabled(pod=model_registry_operator_pod)
3835

39-
@pytest.mark.sanity
4036
def test_model_catalog_no_custom_catalog(
4137
self,
4238
model_registry_instance: ModelRegistry,

0 commit comments

Comments
 (0)