Files
SPRUCE-scraper/tests/conftest.py
poprhythm e122f6435a Initial commit
Add spruce scraper with CLI, session management, parsers, progress tracking,
recheck logic, and test suite. Includes example config and README.
2026-04-22 10:41:18 -04:00

18 lines
350 B
Python

"""Shared pytest fixtures."""
from pathlib import Path
import pytest
FIXTURES = Path(__file__).parent / "fixtures"
@pytest.fixture
def scan_list_html() -> str:
return (FIXTURES / "scan_list.html").read_text(encoding="utf-8")
@pytest.fixture
def scan_view_html() -> str:
return (FIXTURES / "scan_view.html").read_text(encoding="utf-8")