code cleansing

This commit is contained in:
Florian Förster 2025-10-23 09:45:43 +02:00
parent 247f72cb51
commit d87e8d4d9c

View File

@ -5,24 +5,6 @@ import pytest
from dopt_sensor_anomalies import _find_paths
# @pytest.fixture(scope="session", autouse=True)
# def setup_temp_dir(tmp_path_factory):
# tmp_dir = tmp_path_factory.mktemp("root")
# folder_structure = "lib/folder"
# pth = tmp_dir / folder_structure
# pth.mkdir(parents=True, exist_ok=True)
# # models
# folder_models = "lib/models"
# pth_models = tmp_dir / folder_models
# pth_models.mkdir(parents=True, exist_ok=True)
# _root_models = (Path(__file__).parent / "_models").glob("*.pth")
# for model in _root_models:
# dst = pth_models / model.name
# shutil.copy(model, dst)
# with patch("dopt_sensor_anomalies._find_paths.LIB_ROOT_PATH", pth):
# yield
@pytest.fixture()
def temp_model_folder_empty(tmp_path_factory) -> Path: