"""Tearsheet rendering, in particular the offline (``plotlyjs="inline"``) report. The inline path was written against ``plotly.io.get_plotlyjs``, which does not exist and never has, so every offline report raised AttributeError. Nothing exercised it, so nothing caught it. These tests render both modes for real. """ import os import pytest import manifoldbt as bt from manifoldbt import run_with_parquet pytest.importorskip("plotly") tearsheet = pytest.importorskip("manifoldbt.plot.tearsheet").tearsheet # Roughly the size of the embedded plotly runtime; the point is to tell an # actually-embedded bundle from a one-line CDN script tag, not to pin a version. _RUNTIME_BYTES = 2_000_000 _CDN_TAG = '