Files
unredact/tests/conftest.py
T
2026-02-15 18:36:10 -06:00

15 lines
333 B
Python

from pathlib import Path
import pytest
FIXTURES_DIR = Path(__file__).parent / "fixtures"
@pytest.fixture
def sample_pdf() -> Path:
"""Path to the sample Epstein PDF for testing."""
pdf = Path("/home/alex/Documents/EFTA00554620.pdf")
if not pdf.exists():
pytest.skip("Sample PDF not available")
return pdf