Skip to content

Commit f64bd53

Browse files
committed
fix: remove logger from fixture
1 parent 31072c5 commit f64bd53

File tree

1 file changed

+0
-7
lines changed
  • tests/model_registry/model_catalog/catalog_config

1 file changed

+0
-7
lines changed

tests/model_registry/model_catalog/catalog_config/conftest.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import yaml
33
from ocp_resources.config_map import ConfigMap
44
from ocp_resources.resource import ResourceEditor
5-
from simple_logger.logger import get_logger
65
from typing import Generator
76

87
from tests.model_registry.constants import DEFAULT_CUSTOM_MODEL_CATALOG
@@ -13,8 +12,6 @@
1312
wait_for_model_catalog_api,
1413
)
1514

16-
LOGGER = get_logger(name=__name__)
17-
1815

1916
@pytest.fixture()
2017
def 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,

0 commit comments

Comments
 (0)