skyeweave/tests/conftest.py
Firq 56c1d5427a
All checks were successful
/ mypy (push) Successful in 15s
/ tests (push) Successful in 52s
/ pylint (push) Successful in 10s
Added testing
2024-10-20 21:38:22 +02:00

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)