File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
tests/model_registry/model_catalog/catalog_config Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 22import yaml
33from ocp_resources .config_map import ConfigMap
44from ocp_resources .resource import ResourceEditor
5- from simple_logger .logger import get_logger
65from typing import Generator
76
87from tests .model_registry .constants import DEFAULT_CUSTOM_MODEL_CATALOG
1312 wait_for_model_catalog_api ,
1413)
1514
16- LOGGER = get_logger (name = __name__ )
17-
1815
1916@pytest .fixture ()
2017def sparse_override_catalog_source (
@@ -36,8 +33,6 @@ def sparse_override_catalog_source(
3633 original_catalog = next ((item for item in items if item .get ("id" ) == catalog_id ), None )
3734 assert original_catalog is not None , f"Original catalog '{ catalog_id } ' not found in sources"
3835
39- LOGGER .info (f"Original catalog state before sparse override: { original_catalog } " )
40-
4136 # Create sparse override YAML with ONLY id, name, and labels
4237 # Deliberately NOT including some fields that should be inherited from the default ConfigMap
4338 sparse_catalog_yaml = yaml .dump (
@@ -53,8 +48,6 @@ def sparse_override_catalog_source(
5348 default_flow_style = False ,
5449 )
5550
56- LOGGER .info (f"Sparse override YAML:\n { sparse_catalog_yaml } " )
57-
5851 # Write sparse override to custom ConfigMap
5952 sources_cm = ConfigMap (
6053 name = DEFAULT_CUSTOM_MODEL_CATALOG ,
You can’t perform that action at this time.
0 commit comments