16 lines
353 B
Python
16 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)
|