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)