skyeweave/tests/conftest.py
2024-10-20 21:38:22 +02:00

15 lines
353 B
Python

import pathlib
import shutil
import pytest
@pytest.fixture(scope="function")
def path_images():
path = pathlib.Path(__file__).parent / "test_path_images"
yield path
shutil.rmtree(path)
@pytest.fixture(scope="function")
def path_output():
path = pathlib.Path(__file__).parent / "test_path_output"
yield path
shutil.rmtree(path)