Files
SignageSystem/tests/test_experiment_snapshot.py
T
2026-08-09 21:51:23 +09:00

6 lines
446 B
Python

from pathlib import Path
from src.config_loader import load_config
from src.experiment_snapshot import ExperimentSnapshotBuilder
def test_snapshot_exports(tmp_path:Path)->None:
b=ExperimentSnapshotBuilder(load_config("config/default.yaml",None));s=b.build_snapshot();assert s.voice_volume==.8;assert b.export_yaml(s,tmp_path/"s.yaml").exists();assert "camera_position_note" in b.export_markdown(s,tmp_path/"s.md").read_text(encoding="utf-8")