"""Recompute the fictional smoke chart and compare canonical hashes. The stored golden keeps sha256 and key-path types only. """ from __future__ import annotations import importlib.util from pathlib import Path def test_api_service_extract_golden_matches_baseline() -> None: path = Path(__file__).resolve().parents[1] / "scripts" / "research" / "api_service_extract_golden.py" spec = importlib.util.spec_from_file_location("api_service_extract_golden", path) assert spec is not None and spec.loader is not None module = importlib.util.module_from_spec(spec) spec.loader.exec_module(module) assert module.check_golden() == []