generated from dopt-python/py311
code cleansing
This commit is contained in:
parent
247f72cb51
commit
d87e8d4d9c
@ -5,24 +5,6 @@ import pytest
|
|||||||
|
|
||||||
from dopt_sensor_anomalies import _find_paths
|
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()
|
@pytest.fixture()
|
||||||
def temp_model_folder_empty(tmp_path_factory) -> Path:
|
def temp_model_folder_empty(tmp_path_factory) -> Path:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user