You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
446 B
5 lines
446 B
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")
|
|
|