Added testing

This commit is contained in:
Firq 2024-10-20 21:38:22 +02:00
parent 821251b77c
commit 56c1d5427a
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
8 changed files with 151 additions and 8 deletions

15
tests/conftest.py Normal file
View file

@ -0,0 +1,15 @@
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)