e122f6435a
Add spruce scraper with CLI, session management, parsers, progress tracking, recheck logic, and test suite. Includes example config and README.
18 lines
350 B
Python
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")
|