Added testing
This commit is contained in:
parent
821251b77c
commit
56c1d5427a
8 changed files with 151 additions and 8 deletions
tests
15
tests/conftest.py
Normal file
15
tests/conftest.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue