"""Shared fixtures. Nothing here starts a real browser. Engine level tests skip themselves when the engine is not installed in the current environment. """ from __future__ import annotations import pytest def build_document(sections: int, paragraphs_per_section: int = 12) -> str: """Synthetic document with predictable structure and size.""" parts = [ "
", "", "", ] for index in range(sections): parts.append(f"Odstavec {paragraph + 1} kapitoly {index + 1}. " + ("Text s ceskou diakritikou pro overeni fontu. " * 8) + "
" ) parts.append("Odstavec {index}. " + ("Text. " * 40) + "
" for index in range(200)) return f"{body}"