senju/tests/conftest.py
2025-02-08 17:48:14 +01:00

10 lines
201 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())