senju/tests/conftest.py
2025-01-24 14:51:25 +01:00

11 lines
202 B
Python

import tempfile
from pathlib import Path
import pytest
@pytest.fixture(scope="session")
def temp_data_dir():
"""Create a temporary directory for test data"""
return Path(tempfile.mkdtemp())