dopt-basics/tests/conftest.py

13 lines
214 B
Python

from pathlib import Path
import pytest
@pytest.fixture(scope="session")
def root_data_folder() -> Path:
pth = Path.cwd() / "tests/_test_data/"
assert pth.exists()
assert pth.is_dir()
return pth